Qiang Xue
b10c8240b3
Allow dash char in ActionColumn’s button names.
2013-12-27 09:19:27 -05:00
Qiang Xue
1689a9ef9a
Changed the signature of urlCreator and button creators for yii\gridview\ActionColumn
2013-12-26 00:24:11 -05:00
Qiang Xue
abdfe30cac
parameter adjustment.
2013-12-25 23:37:24 -05:00
Qiang Xue
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
Qiang Xue
5fc275e935
Fixes #1499 : Added ActionColumn::controller property to support customizing the controller for handling GridView actions
2013-12-23 16:36:21 -05:00
Carsten Brandt
12217a3ed8
code style and docs
2013-12-10 20:42:43 +01:00
Qiang Xue
dd9facceed
Added $key parameter to several methods in grid view.
2013-11-29 20:34:06 -05:00
Qiang Xue
fb3ebe7000
doc cleanup.
2013-11-29 12:47:10 -05:00
Qiang Xue
c9e4773ebb
Moved key serialization from data provider to data viewers.
2013-11-29 12:42:26 -05:00
Carsten Brandt
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
Qiang Xue
a8d189676f
typo fix.
2013-11-10 21:18:19 -05:00
Qiang Xue
743d31a8e6
Fixes #1075 : separated empty switch and empty display for ListView and GridView.
2013-11-10 21:07:13 -05:00
Qiang Xue
786163c13f
Fixes #1075 : changed the default value of GridView::empty.
2013-10-26 19:30:21 -04:00
Alexander Makarov
ee2af2661c
Removed unneeded use statements
2013-10-24 03:12:25 +04:00
Alexander Makarov
ffb37f8eab
fixes #1001
2013-10-24 02:00:43 +04:00
Alexander Makarov
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
resurtm
ffbd10638f
Remove unnecessary $this.
...
Related to b3b5e36d42 .
2013-10-18 19:36:16 +06:00
resurtm
9e1b498fb5
PHP 5.4 supports $this with closures.
2013-10-18 09:31:37 +06:00
Qiang Xue
2b2c22eee4
Fixes #980 : Changed the default way of generating action URLs for ActionColumn.
2013-10-15 20:31:43 -04:00
Carsten Brandt
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
Qiang Xue
cf9104f7fd
make grid view filtering work.
2013-10-05 21:56:06 -04:00
Qiang Xue
293cb9d86f
Fixed search form.
2013-10-04 20:35:58 -04:00
Alexander Makarov
fc75ab87be
Renamed ListViewBase → BaseListView
2013-09-28 22:42:42 +04:00
Qiang Xue
220db270cf
Improved crud generator.
2013-09-25 21:20:58 -04:00
Qiang Xue
7d2d925dbe
Added SerialColumn to crud generated code.
2013-09-24 21:50:08 -04:00
Qiang Xue
cd969509e6
Added ActionColumn.
...
crud generator WIP.
2013-09-24 21:46:31 -04:00
Qiang Xue
02e3b451be
Removed sorter from the default display of ListView.
2013-09-07 23:43:26 -04:00
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
2013-08-28 14:16:13 +02:00
Carsten Brandt
53b4ed3d7f
Moved label for Sort::link() to html options
2013-08-26 18:02:44 +02:00
Carsten Brandt
39c002e83c
Refactored DataColumn::renderHeaderCellContent()
2013-08-26 15:23:49 +02:00
Carsten Brandt
155749e18d
typos in doc
2013-08-26 15:23:22 +02:00
Carsten Brandt
9847472144
introduced DataColumn::label property
2013-08-26 15:13:16 +02:00
Carsten Brandt
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
Carsten Brandt
c5d65e09af
Refactor DataColum to use model label for sorting link
2013-08-25 00:16:12 +02:00
Carsten Brandt
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
Qiang Xue
b3b1151469
Finished draft implementation of GridView.
2013-08-06 17:00:32 -04:00