AlexGx
eaaa5b1bb5
fix code style
11 years ago
Qiang Xue
eaa1ba029f
minor cs fixes.
11 years ago
Alexander Makarov
e3e26540a2
Fixes #2508
11 years ago
Kartik Visweswaran
cd1f7b10ea
Removed unnecessary blank space
11 years ago
Kartik Visweswaran
5f5570e73f
Raw content return for Grid DataColumn & Column
11 years ago
Kartik Visweswaran
342ba95d4a
Raw content return for Grid DataColumn & Column
...
Need to have a method `getDataCellContent` to return raw parsed data cell content. This is useful when extending these Columns, for processing any other data before formatting via `renderDataCellContent`.
11 years ago
Thiago Talma
8c49dabb1b
Change condition
11 years ago
Thiago Talma
5a2323346d
Test if value is instance of \Closure
11 years ago
Thiago Talma
f906b3a10b
Adjust doc
11 years ago
Thiago Talma
a35fcbbf92
Adjust tab as space
11 years ago
Thiago Talma
632a537ab8
Allow to set an attribute as the value of the cell, unlike the column attribute.
11 years ago
Qiang Xue
f5e1fbc532
Fixes #2212 : `yii\gridview\DataColumn` generates incorrect labels when used with nosql DB and there is no data
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Qiang Xue
0c38655217
psr-4 move
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
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Alexander Makarov
ffb37f8eab
fixes #1001
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
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
293cb9d86f
Fixed search form.
11 years ago
Qiang Xue
220db270cf
Improved crud generator.
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
11 years ago
Carsten Brandt
c5d65e09af
Refactor DataColum to use model label for sorting link
11 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.
11 years ago
Qiang Xue
b3b1151469
Finished draft implementation of GridView.
11 years ago
Qiang Xue
b31b02a55d
renamed IDataProvider::getItems() to getModels()
11 years ago
Qiang Xue
1398de3f4a
Renamed DataColumn::type to format.
...
Added GridView::dataColumnClass.
11 years ago
Qiang Xue
4b9e965454
GridView WIP
11 years ago