#
Filter date column widgets for gridview in Yii framework
(e.g. Yii 1.6 or above)
go http://blog.yiibook.com/?p=452
'columns'=>array( ... 'title', array( 'header'=>'creation_time', 'name'=>'creation_time', 'class'=>'SYDateColumn' ), array( 'header'=>'update_time', 'name'=>'update_time', 'filter'=>'single', 'class'=>'SYDateColumn' ), array( 'class'=>'CButtonColumn', ), ),
http://blog.yiibook.com/?p=452
Total 3 comments
When I am trying to filter after From and To fields, selecting date To field quickly(the ajax call isn't finished yet) I get an error "f is not a function" in console and the date can't be chosen. If I try again it will work...Do you have any idea about how to fix this? Something.to wait until the ajax call is finished..I don't have any idea. Thank you,
I was able to get it running.
Thanks a bunch! :)
For those who were not able to get the code :
Reading the blog is also necessary.
The ZIP file is damaged, please upload it again.
Leave a comment
Please login to leave your comment.