Hi.
I’m trying to assign some classes for some input elements in bootstrap.widgets.TbGridView. finding how in GridView widget I supposed it make same result but when I add htmlOptions into array column options it doesn’t take any htmlOption so I think is a bug for the bootstrap extension.
here is the example:
<?php $this->widget('bootstrap.widgets.TbGridView',array(
'id'=>'documento-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'template' => "{items}",
'columns'=>array(
'id_documento',
/*'id_categoria',*/
array(
'name'=>'id_categoria',
'htmlOptions' => array('class' =>'span4'),
'filter'=>CHtml::listData(Categoria::model()->findAll(),'id_categoria','nombre'),
),
...
any help I will be thankful.