Remove radio button by default checked in zend

拟墨画扇 提交于 2019-12-24 10:37:31

问题


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.

来源:https://stackoverflow.com/questions/52892276/remove-radio-button-by-default-checked-in-zend

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!