octicon-git-branch(16/) Commit Graph

36 Commits

Author SHA1 Message Date
Ivan Yakovlev
dec4a4f239 Fixes #7008: Removed extra white space in GridView filter cell 2015-01-31 00:31:14 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
eeb4e29d55 improve gridview phpdoc 2014-12-17 09:18:00 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
de8966079f Fixes #5367: Added yii\grid\DataColumn::encodeLabel 2014-11-13 21:28:47 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
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,
                ...
            ],
```
2014-11-13 21:26:39 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
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
2014-09-10 21:53:29 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
1c1dcc2c15 fixed gridview documentation
fixes #4045
2014-06-25 18:33:50 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
MDMunir
53e193049f Add $key to function parameter
I think it's better to enclose `$key` as function parameter.
2014-05-22 17:57:30 +07:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
c15aceb094 Refactored filter error display for GridView. 2014-04-22 20:46:23 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
61841345eb Merge pull request #3164 from ivan-kolmychek/3154-gridview-filter-error-indication
GridView filter error indication added (#3154)
2014-04-23 00:25:11 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Ivan Kolmycheck
bb4e8eb736 DataColumn - error detection moved into renderFilterCellContent() 2014-04-22 18:47:11 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
0a3f4e85f1 made grid\DataColumn::getDataCellValue() public
allow using it from the gridview directly
2014-04-22 13:51:54 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Ivan Kolmycheck
104a38a714 Issue #3154 - DataColumn checkForFilterErrors() now use Html::addCssClass 2014-04-19 12:22:40 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Ivan Kolmycheck
c57e1fcb78 Issue #3154 - DataColumn filter model validation error indication added 2014-04-18 12:57:19 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
e87e120040 refactored GridView to have clear separation between value and content 2014-03-27 01:44:06 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
150d5152b2 more grid docs 2014-03-09 03:21:42 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
AlexGx
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
eaa1ba029f minor cs fixes. 2014-02-25 16:43:31 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
3ad7d6d356 Merge pull request #2284 from kartik-v/patch-12
Raw content return for Grid DataColumn & Column
2014-02-25 16:37:39 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
e3e26540a2 Fixes #2508 2014-02-21 15:03:10 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Kartik Visweswaran
cd1f7b10ea Removed unnecessary blank space 2014-02-03 11:32:42 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Kartik Visweswaran
5f5570e73f Raw content return for Grid DataColumn & Column 2014-02-02 21:57:41 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
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`.
2014-02-02 21:50:58 +00:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
8c49dabb1b Change condition 2014-01-30 17:04:16 -02:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
5a2323346d Test if value is instance of \Closure 2014-01-30 17:01:26 -02:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
f906b3a10b Adjust doc 2014-01-30 16:02:24 -02:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
a35fcbbf92 Adjust tab as space 2014-01-30 15:56:44 -02:00 octicon-file-diff(16/) octicon-file-code(16/)
Thiago Talma
632a537ab8 Allow to set an attribute as the value of the cell, unlike the column attribute. 2014-01-30 15:51:09 -02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f5e1fbc532 Fixes #2212: yii\gridview\DataColumn generates incorrect labels when used with nosql DB and there is no data 2014-01-29 18:09:58 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00 octicon-file-diff(16/) octicon-file-code(16/)