125 Commits

Author SHA1 Message Date
60a2a54fc8 CheckboxColumn - Use CSS class to find the elements (#11729)
* Use CSS class to fetch the elements

* default null

* CHANGELOG.md

* CHANGELOG.md
2016-06-23 20:16:56 +03:00
8e34f9f45d Update DataColumn.php (#11724) [skip ci] 2016-06-08 18:25:41 +02:00
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
53e1018648 Updated yii\grid\DataColumn::getHeaderCellLabel() to extract attribute label from the filterModel of Grid
Closes #9950
2016-05-03 15:01:33 +03:00
030913e7f0 Fixed code style and indentations 2016-05-03 14:51:25 +03:00
7f3511a908 Update ArrayDataProvider.php
Update DataColumn.php

Update CHANGELOG.md
2016-05-03 14:51:22 +03:00
84827597dc Added @since tags for #10631 2016-04-23 01:27:36 +03:00
9f45a94661 #10631: added changelog, simpified code a bit more 2016-04-22 17:07:22 +03:00
b5b55ad302 Fixes #10631: Splitted gettng label and rendering cell in yii\grid\DataColumn::renderHeaderCellContent() to make code simpler 2016-04-22 17:07:07 +03:00
d3beca32b4 Refactored PR, updated CHANGELOG 2016-04-22 13:41:13 +03:00
f2e8725de5 Merge branch '9074-checkboxColumn-selectedRows-fix' of https://github.com/NekitoSP/yii2 into NekitoSP-9074-checkboxColumn-selectedRows-fix 2016-04-22 11:53:35 +03:00
151610f611 Fixed #10784
Added tests for CheckboxColumn value
Updated CHANGELOG
2016-03-20 16:59:21 +02:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
5c4e2d4372 Removed unnecessary parentheses 2016-02-16 14:08:43 +03:00
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
e630072408 Add phpdoc [skip ci] 2016-01-26 18:01:17 +01:00
275a7827c3 ActionColumn::visibleButtins() - changed PHPDoc wording 2016-01-26 10:17:16 +02:00
Vit
f17a881539 fix typo 2016-01-26 10:29:32 +03:00
bdddcc54ad code review fixes 2016-01-25 22:56:44 +03:00
c6c765b014 Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column 2016-01-25 21:28:54 +03:00
6bff405287 Code style minor fix 2016-01-17 12:31:52 +02:00
32c560e629 Merge branch 'master' into gridview-checkboxcolumn 2016-01-17 12:30:43 +02:00
eda1e7b027 Fixed yii\grid\GridView::guessColumns() to work with numeric column names
Closes #10580
2016-01-15 13:35:08 +02:00
b6254dd68b Fixes #10056: Allowed any callable to be passed to ActionColumn::$urlCreator 2015-10-30 22:37:23 +03:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
88612a49b4 Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column
Conflicts:
	framework/CHANGELOG.md
2015-10-05 22:16:21 +03:00
ad69fb9c7e Closed #9635: Added default CSS class for \yii\grid\ActionColumn header 2015-09-10 18:01:30 +06:00
3ee89ac42c selectedRows fix for $showHeader=false #9074 2015-08-14 22:03:42 +05:00
dacd9cdcd4 add buttonsVisible suggestion (issue #9198) 2015-07-24 22:57:54 +04:00
1ea1cacc11 improved GridView docs about empty cell
fixes #9159
2015-07-22 08:35:41 +02:00
d613719298 Update ActionColumn.php 2015-06-15 01:34:35 +02:00
afe21a986a PSR-2 anonymous functions 2015-06-09 00:14:44 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
fdb730a12a syntax fix [skip ci] 2015-04-10 21:51:33 -04:00
af202f1ad8 Fixes #7912: Added aria-label to ActionColumn buttons 2015-03-30 19:08:44 +03:00
d33e75a7fd possible fix for gridview checkall name
https://github.com/yiisoft/yii/issues/3810
2015-03-20 17:55:46 +01:00
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
2015-03-08 23:23:39 +01:00
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
dec4a4f239 Fixes #7008: Removed extra white space in GridView filter cell 2015-01-31 00:31:14 +03:00
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
2015-01-10 15:20:40 +01:00
2081d0e80c Merge pull request #6587 from creocoder/yii-grid-action-column-php-doc
\yii\grid\ActionColumn better phpDoc.
2014-12-19 13:41:34 +01:00
9ee3627891 \yii\grid\ActionColumn better phpDoc. 2014-12-19 15:39:16 +03:00
98d4650f12 \yii\grid\ActionColumn better phpDoc. 2014-12-19 14:51:57 +03:00
0e7652b67f Merge pull request #6584 from creocoder/yii-grid-action-column-incomplete-signature-fixes
\yii\grid\ActionColumn incomplete anonymous functions signature fix
2014-12-19 12:32:25 +03:00
267da3cc3f \yii\grid\ActionColumn incomplete anonymous functions signature fix. 2014-12-19 09:26:58 +03:00
eeb4e29d55 improve gridview phpdoc 2014-12-17 09:18:00 +01:00
ebdd56f0db Changed #4277 behavior 2014-11-27 20:42:31 +03:00
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 2014-11-27 13:47:40 +03:00
de8966079f Fixes #5367: Added yii\grid\DataColumn::encodeLabel 2014-11-13 21:28:47 -05:00