checkbox - add header to CCheckBoxColumn in TbGridView -
I add the checkbox to the widget TbGridView but I want to add headers to CCheckBoxColumn in TbGridView, but when I add headers Why can not I see the header text? I search the internet and I think if I remove selectableRows from the header but I can not select all
array ('class' => 'CCheckBoxColumn' , 'SelectableRows' = & gt; 2) For any gridview column you can add a header by using header
property However, for one: In multiple checking mode, the header cell will display an additional checkbox on which the click Rke checkbox in the data box will be Czech or uncheck. Header cell to headerTemplate . {code> array can be customized by column ('class' =>' CCheckBoxColumn ',' headerTemplate '= & gt;' header ',' Selectable '= & gt; 2,)
Comments
Post a Comment