38 Commits

Author SHA1 Message Date
a861994f19 Fixes #1835: CheckboxColumn now renders checkboxes whose values are the corresponding data key values 2014-01-08 10:48:16 -05:00
3d59b19a21 added classes to grid, list and detail view
to allow specific styling
also fixed an issue with gridview sort indicator css.

fixes #1000
2014-01-05 14:45:09 +01:00
b10c8240b3 Allow dash char in ActionColumn’s button names. 2013-12-27 09:19:27 -05:00
1689a9ef9a Changed the signature of urlCreator and button creators for yii\gridview\ActionColumn 2013-12-26 00:24:11 -05:00
abdfe30cac parameter adjustment. 2013-12-25 23:37:24 -05:00
bae5cda5b9 The signature for yii\gridview\ActionColumn::urlCreator is changed - the $action parameter is moved to the first 2013-12-25 23:36:28 -05:00
5fc275e935 Fixes #1499: Added ActionColumn::controller property to support customizing the controller for handling GridView actions 2013-12-23 16:36:21 -05:00
12217a3ed8 code style and docs 2013-12-10 20:42:43 +01:00
dd9facceed Added $key parameter to several methods in grid view. 2013-11-29 20:34:06 -05:00
fb3ebe7000 doc cleanup. 2013-11-29 12:47:10 -05:00
c9e4773ebb Moved key serialization from data provider to data viewers. 2013-11-29 12:42:26 -05:00
539e233d9c massive improvement on class documentation
- added example code for application components
- added missing short description

[ci skip]
2013-11-13 01:16:21 +01:00
a8d189676f typo fix. 2013-11-10 21:18:19 -05:00
743d31a8e6 Fixes #1075: separated empty switch and empty display for ListView and GridView. 2013-11-10 21:07:13 -05:00
786163c13f Fixes #1075: changed the default value of GridView::empty. 2013-10-26 19:30:21 -04:00
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
ffb37f8eab fixes #1001 2013-10-24 02:00:43 +04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
ffbd10638f Remove unnecessary $this.
Related to b3b5e36d42a1187c14acfa371cf237529a8cddc0.
2013-10-18 19:36:16 +06:00
9e1b498fb5 PHP 5.4 supports $this with closures. 2013-10-18 09:31:37 +06:00
2b2c22eee4 Fixes #980: Changed the default way of generating action URLs for ActionColumn. 2013-10-15 20:31:43 -04:00
5ad8fe5f45 Filter only active attributes in gridview
When we do not want an attribute to be searched we do not define it in
the filter model, or mark it inctive in the scenario when we use the
original model.
GridView should not try to access the attribute then and automatically
not display the filter field.
2013-10-13 19:56:12 +02:00
cf9104f7fd make grid view filtering work. 2013-10-05 21:56:06 -04:00
293cb9d86f Fixed search form. 2013-10-04 20:35:58 -04:00
fc75ab87be Renamed ListViewBase → BaseListView 2013-09-28 22:42:42 +04:00
220db270cf Improved crud generator. 2013-09-25 21:20:58 -04:00
7d2d925dbe Added SerialColumn to crud generated code. 2013-09-24 21:50:08 -04:00
cd969509e6 Added ActionColumn.
crud generator WIP.
2013-09-24 21:46:31 -04:00
02e3b451be Removed sorter from the default display of ListView. 2013-09-07 23:43:26 -04:00
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00
53b4ed3d7f Moved label for Sort::link() to html options 2013-08-26 18:02:44 +02:00
39c002e83c Refactored DataColumn::renderHeaderCellContent() 2013-08-26 15:23:49 +02:00
155749e18d typos in doc 2013-08-26 15:23:22 +02:00
9847472144 introduced DataColumn::label property 2013-08-26 15:13:16 +02:00
381216595d DataColumn: Allow setting label of sort link via short syntax
attribute:type:Header should also affect sort link
2013-08-25 00:37:29 +02:00
c5d65e09af Refactor DataColum to use model label for sorting link 2013-08-25 00:16:12 +02:00
96c7534ca3 set default format for gridview to text
default format is text in short format so it should also be
like that in array() defintion.
2013-08-24 16:44:04 +02:00
b3b1151469 Finished draft implementation of GridView. 2013-08-06 17:00:32 -04:00