Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
フィルタセクションに、CGridviewプレースホルダーを配置する必要があります。これはYiiで可能ですか?
CGridview
または、プレースホルダーを含む対応タグに拡張CGridviewすることでこれが可能ですか。filterOptionsもしそうなら、CGridviewを拡張する方法は?
filterOptions
この目的のためにクラスを拡張する必要はないと思います。
'filter'=>CHtml::activeTextField($model, attribute, array('placeholder'=>'place holder text'))),