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.
- dateField which tells the grid which is the column with the date info to group with
- tableOptions HTML options for the table
<?php $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
- Fixed bug with empty datasets missing a colspan
- First release