Do you have tables (generally grid views), that have a date field? and is that date important to the your user? with XDateView you can show the user a table grouped by a date field in an organized way, that allows you user to quickly understand the time frames of you dataset.

Developed and tested with Yii 1.1.8, but should work with other 1.1.* versions.
Download and extract the contents to you extensions folder
XDateView extends from CGridView, so it inherits all of its attributes, there are however 2 more attributes.
$this->widget('ext.xdateview.XDateView',array( 'dataProvider'=>$model->search(), 'filter'=>$model, 'dateField' => "create_time",//the default value 'columns'=>array( ... ), ));
Info: Please post your questions/recommendations/fixes/etc on the forum, try to keep comments here for other things
Total 1 comment
You needs to define below variables XdateView class to work with older yii versions.I checked with 1.1.6
Thanks for the plugin
Leave a comment
Please login to leave your comment.