Evgeniy Tkachenko
8e34f9f45d
Update DataColumn.php ( #11724 ) [skip ci]
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
SilverFire - Dmitry Naumenko
53e1018648
Updated `yii\grid\DataColumn::getHeaderCellLabel()` to extract attribute label from the `filterModel` of Grid
...
Closes #9950
9 years ago
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
9 years ago
PowerGamer1
7f3511a908
Update ArrayDataProvider.php
...
Update DataColumn.php
Update CHANGELOG.md
9 years ago
Alexander Makarov
84827597dc
Added `@since` tags for #10631
9 years ago
Alexander Makarov
9f45a94661
#10631 : added changelog, simpified code a bit more
9 years ago
Konstantin Timoshenko
b5b55ad302
Fixes #10631 : Splitted gettng label and rendering cell in `yii\grid\DataColumn::renderHeaderCellContent()` to make code simpler
9 years ago
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
9 years ago
Ivan Yakovlev
dec4a4f239
Fixes #7008 : Removed extra white space in GridView filter cell
10 years ago
Carsten Brandt
eeb4e29d55
improve gridview phpdoc
10 years ago
Qiang Xue
de8966079f
Fixes #5367 : Added `yii\grid\DataColumn::encodeLabel`
10 years ago
Serge Postrash
c6cb205653
Added encodeLabel param to \yii\grid\DataColumn
...
Use case:
```
echo GridView::widget([
...
'columns' => [
...
[
'attribute' => 'created_at',
'label' => '<span data-toggle="tooltip" class="glyphicon glyphicon-time" title="'.Yii::t('app', 'Created At').'"></span>',
'encodeLabel' => false,
...
],
```
10 years ago
Carsten Brandt
b5af2f6ab3
fixed size format plural rule to not format number itself
...
This fix ensures the format configured in the formatter class is used in the message instead
of the default ICU format.
fixes #4960
10 years ago
Carsten Brandt
d82195706f
UPGRADE and CHANGELOG notes for the Formatter changes
10 years ago
Carsten Brandt
1c1dcc2c15
fixed gridview documentation
...
fixes #4045
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
MDMunir
53e193049f
Add $key to function parameter
...
I think it's better to enclose `$key` as function parameter.
10 years ago
Qiang Xue
c15aceb094
Refactored filter error display for GridView.
11 years ago
Ivan Kolmycheck
bb4e8eb736
DataColumn - error detection moved into renderFilterCellContent()
11 years ago
Carsten Brandt
0a3f4e85f1
made grid\DataColumn::getDataCellValue() public
...
allow using it from the gridview directly
11 years ago
Ivan Kolmycheck
104a38a714
Issue #3154 - DataColumn checkForFilterErrors() now use Html::addCssClass
11 years ago
Ivan Kolmycheck
c57e1fcb78
Issue #3154 - DataColumn filter model validation error indication added
11 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago
Carsten Brandt
e87e120040
refactored GridView to have clear separation between value and content
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
6fff5662df
better use @see for See in phpdoc
11 years ago
Carsten Brandt
c94a40e90d
added a large amount of missing documentation
11 years ago
Alexander Makarov
150d5152b2
more grid docs
11 years ago
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