Thiago Talma
|
60a2a54fc8
|
CheckboxColumn - Use CSS class to find the elements (#11729)
* Use CSS class to fetch the elements
* default null
* CHANGELOG.md
* CHANGELOG.md
|
8 years ago |
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 |
SilverFire - Dmitry Naumenko
|
d3beca32b4
|
Refactored PR, updated CHANGELOG
|
9 years ago |
Taras Gudz
|
151610f611
|
Fixed #10784
Added tests for CheckboxColumn value
Updated CHANGELOG
|
9 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
Alexander Makarov
|
5c4e2d4372
|
Removed unnecessary parentheses
|
9 years ago |
Alexander Makarov
|
97bc4e0567
|
Fixed wrong case in method calls
|
9 years ago |
Daniel Gomez Pan
|
e630072408
|
Add phpdoc [skip ci]
|
9 years ago |
SilverFire - Dmitry Naumenko
|
275a7827c3
|
ActionColumn::visibleButtins() - changed PHPDoc wording
|
9 years ago |
Vit
|
f17a881539
|
fix typo
|
9 years ago |
Vit S
|
bdddcc54ad
|
code review fixes
|
9 years ago |
SilverFire - Dmitry Naumenko
|
6bff405287
|
Code style minor fix
|
9 years ago |
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 |
NekitoSP
|
3ee89ac42c
|
selectedRows fix for $showHeader=false #9074
|
9 years ago |
Vit S
|
dacd9cdcd4
|
add buttonsVisible suggestion (issue #9198)
|
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
|
d33e75a7fd
|
possible fix for gridview checkall name
https://github.com/yiisoft/yii/issues/3810
|
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 |