In my CGridview
filter section, I need to place placeholder. Is this possible in Yii?
Or is this possible by extending CGridview
to accomodate filterOptions
tag, which contains the place holder. If its, how to extend CGridview?
In my CGridview
filter section, I need to place placeholder. Is this possible in Yii?
Or is this possible by extending CGridview
to accomodate filterOptions
tag, which contains the place holder. If its, how to extend CGridview?
I don't think that extending class is need for this purpose, just use
'filter'=>CHtml::activeTextField($model, attribute,
array('placeholder'=>'place holder text'))),