代码之家  ›  专栏  ›  技术社区  ›  suresh

删除单选按钮默认选中zend

  •  1
  • suresh  · 技术社区  · 7 年前

    因为我是新来的zend,我不知道怎么做

    这是我的代码:

    /**
     * Get single selection action column for grid.
     * 
     * @return Bvb_Grid_Extra_Column
     */
    protected function getSingleSelectionActionColumn()
    {
        $column = new Bvb_Grid_Extra_Column();
        $selection = $this->getView()->render('_partial/selection-order.phtml');
        $column->position('left')->name('selection')->title('')->decorator($selection);
    
        return  $column;
    }
    

    视图:selection-order.phtml

    <span class="actions">
    <input name="ticketId" id="ticketId-{{ticketId}}" type="radio" class="selectAll js-set-order-ticket" value="{{ticketId}}"/>
    

    有人能帮我吗?我该怎么做

    0 回复  |  直到 7 年前