SilverFire - Dmitry Naumenko
|
eda1e7b027
|
Fixed `yii\grid\GridView::guessColumns()` to work with numeric column names
Closes #10580
|
9 years ago |
freezy
|
b6254dd68b
|
Fixes #10056: Allowed any callable to be passed to `ActionColumn::$urlCreator`
|
9 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Alexander Makarov
|
5ab4f0f090
|
Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
|
9 years ago |
Alexey Rogachev
|
ad69fb9c7e
|
Closed #9635: Added default CSS class for `\yii\grid\ActionColumn` header
|
9 years ago |
Carsten Brandt
|
1ea1cacc11
|
improved GridView docs about empty cell
fixes #9159
|
9 years ago |
maks feltrin
|
d613719298
|
Update ActionColumn.php
|
9 years ago |
Alexander Mohorev
|
afe21a986a
|
PSR-2 anonymous functions
|
9 years ago |
Qiang Xue
|
78d3a856d3
|
Added `Json::htmlEncode()` to support safer JSON data encoding in HTML code
|
10 years ago |
Qiang Xue
|
fdb730a12a
|
syntax fix [skip ci]
|
10 years ago |
Aleksey Loban
|
af202f1ad8
|
Fixes #7912: Added `aria-label` to ActionColumn buttons
|
10 years ago |
Carsten Brandt
|
26392372c0
|
added ActionColumn::$buttonOptions
allows for configuration of the default buttons like this:
```php
[
'class' => ActionColumn::className(),
'template' => '<div class="btn-group text-center">{view} {update} {delete}</div>',
'buttonOptions' => [
'class' => 'btn btn-default btn-xs',
],
],
```
close #7633
|
10 years ago |
Carsten Brandt
|
cd0093f7bd
|
rework grid/list/detail view guide and docs
|
10 years ago |
Ivan Yakovlev
|
dec4a4f239
|
Fixes #7008: Removed extra white space in GridView filter cell
|
10 years ago |
caboosesw
|
f83ad4a05e
|
Update ActionColumn.php
Added content to give a clear example to those that don't intuitively know how to set the template property using array notation.
close #6811
|
10 years ago |
Alexander Kochetov
|
9ee3627891
|
\yii\grid\ActionColumn better phpDoc.
|
10 years ago |
Alexander Kochetov
|
98d4650f12
|
\yii\grid\ActionColumn better phpDoc.
|
10 years ago |
Alexander Kochetov
|
267da3cc3f
|
\yii\grid\ActionColumn incomplete anonymous functions signature fix.
|
10 years ago |
Carsten Brandt
|
eeb4e29d55
|
improve gridview phpdoc
|
10 years ago |
Alexander Makarov
|
ebdd56f0db
|
Changed #4277 behavior
|
10 years ago |
Alexander Makarov
|
af50f5a290
|
Fixes #4277: `yii\grid\GridView` is no longer throwing an exception in non-debug mode when results are empty and `columns` aren't defined
|
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 |
Alexander Mohorev
|
899b778994
|
Correct type declarations
|
10 years ago |
Alexander Mohorev
|
bb8550886e
|
PHP type casting
|
10 years ago |
Alexander Makarov
|
48ec791e4a
|
Fixes #5587: `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also it is now default for `Json::encode()`
|
10 years ago |
Qiang Xue
|
be2828d593
|
Fixes #5484: Fixed potential string suffix detection failure on 5.5.11
|
10 years ago |
Michael Härtl
|
e28edb3ed1
|
Improve docs for CheckboxColumn::$checkboxOptions
|
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 |
Qiang Xue
|
60e07e0d2a
|
new asset WIP: renabled asset publishing
|
10 years ago |
Qiang Xue
|
1a62551691
|
new asset WIP
|
10 years ago |
disem
|
5c79ab202c
|
Added key param to ActionColumn button Closure
fixes #4602, close #4624
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Alexander Makarov
|
07f01bcf2b
|
Used substr_compare instead of substr when we don't care about result
|
10 years ago |
Carsten Brandt
|
085f2c0142
|
gridview and listview use widget ID in base tag
|
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 |
Carsten Brandt
|
020960380b
|
added example to ActionColumn
|
11 years ago |
MDMunir
|
53e193049f
|
Add $key to function parameter
I think it's better to enclose `$key` as function parameter.
|
11 years ago |
Leo R. Lundgren
|
b1bf636983
|
Fix #3531, allow more characters in \yii\grid\GridView's short array syntax for columns.
|
11 years ago |
Qiang Xue
|
c15aceb094
|
Refactored filter error display for GridView.
|
11 years ago |
Qiang Xue
|
4f6e1d305f
|
Refactored the code for #3154
|
11 years ago |
Ivan Kolmycheck
|
bb4e8eb736
|
DataColumn - error detection moved into renderFilterCellContent()
|
11 years ago |
Ivan Kolmycheck
|
cd1152acb5
|
GridView/DataColumn - moved error list display into GridView
|
11 years ago |
Ivan Kolmycheck
|
031fddd48c
|
GridView - error rendering scheme changed
|
11 years ago |
Carsten Brandt
|
0a3f4e85f1
|
made grid\DataColumn::getDataCellValue() public
allow using it from the gridview directly
|
11 years ago |
ElisDN
|
a615ef944a
|
Fixed GridView cells calling order
|
11 years ago |
ElisDN
|
1886877196
|
Render gridview table footer after table body
|
11 years ago |