Remove radio button by default checked in zend

2019-08-11 05:03发布

Hi guys I am trying to remove radio button by default checked in my application

AS I am new to zend I couldn't able to understand how to do that

Here is my code:

/**
 * 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;
}

View:selection-order.phtml

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

Can anyone help me how can I do that

Thanks in advance.

0条回答
登录 后发表回答