Qiang Xue
a861994f19
Fixes #1835 : `CheckboxColumn` now renders checkboxes whose values are the corresponding data key values
11 years ago
Carsten Brandt
3d59b19a21
added classes to grid, list and detail view
...
to allow specific styling
also fixed an issue with gridview sort indicator css.
fixes #1000
11 years ago
Qiang Xue
b10c8240b3
Allow dash char in ActionColumn’s button names.
11 years ago
Qiang Xue
1689a9ef9a
Changed the signature of `urlCreator` and button creators for `yii\gridview\ActionColumn`
11 years ago
Qiang Xue
abdfe30cac
parameter adjustment.
11 years ago
Qiang Xue
bae5cda5b9
The signature for `yii\gridview\ActionColumn::urlCreator` is changed - the `$action` parameter is moved to the first
11 years ago
Qiang Xue
5fc275e935
Fixes #1499 : Added `ActionColumn::controller` property to support customizing the controller for handling GridView actions
11 years ago
Carsten Brandt
12217a3ed8
code style and docs
11 years ago
Qiang Xue
dd9facceed
Added $key parameter to several methods in grid view.
11 years ago
Qiang Xue
fb3ebe7000
doc cleanup.
11 years ago
Qiang Xue
c9e4773ebb
Moved key serialization from data provider to data viewers.
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Qiang Xue
a8d189676f
typo fix.
11 years ago
Qiang Xue
743d31a8e6
Fixes #1075 : separated empty switch and empty display for ListView and GridView.
11 years ago
Qiang Xue
786163c13f
Fixes #1075 : changed the default value of GridView::empty.
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Alexander Makarov
ffb37f8eab
fixes #1001
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
resurtm
ffbd10638f
Remove unnecessary $this.
...
Related to b3b5e36d42
.
11 years ago
resurtm
9e1b498fb5
PHP 5.4 supports $this with closures.
11 years ago
Qiang Xue
2b2c22eee4
Fixes #980 : Changed the default way of generating action URLs for ActionColumn.
11 years ago
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.
11 years ago
Qiang Xue
cf9104f7fd
make grid view filtering work.
11 years ago
Qiang Xue
293cb9d86f
Fixed search form.
11 years ago
Alexander Makarov
fc75ab87be
Renamed ListViewBase → BaseListView
11 years ago
Qiang Xue
220db270cf
Improved crud generator.
11 years ago
Qiang Xue
7d2d925dbe
Added SerialColumn to crud generated code.
11 years ago
Qiang Xue
cd969509e6
Added ActionColumn.
...
crud generator WIP.
11 years ago
Qiang Xue
02e3b451be
Removed sorter from the default display of ListView.
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Carsten Brandt
53b4ed3d7f
Moved label for Sort::link() to html options
11 years ago
Carsten Brandt
39c002e83c
Refactored DataColumn::renderHeaderCellContent()
11 years ago
Carsten Brandt
155749e18d
typos in doc
11 years ago
Carsten Brandt
9847472144
introduced DataColumn::label property
11 years ago
Carsten Brandt
381216595d
DataColumn: Allow setting label of sort link via short syntax
...
attribute:type:Header should also affect sort link
12 years ago
Carsten Brandt
c5d65e09af
Refactor DataColum to use model label for sorting link
12 years ago
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.
12 years ago
Qiang Xue
b3b1151469
Finished draft implementation of GridView.
12 years ago