42 Commits

Author SHA1 Message Date
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
36960da101 Fixed applyFilter function in yii.gridView.js
Closes bug #13379

`applyFilter` function in `yii.gridView.js` fixed to work correctly
when params in `filterUrl` are indexed
2017-02-26 19:31:47 +02:00
8d813f7bf1 Fixes #12840, #12836, #13231, #13232
Additionally added tests for #10302 (#10284 (comment)), #10284 (#10217 (comment)), #11729
2016-12-18 12:06:17 +03:00
f5049d8a31 Correct MSIE8 reserved word error (#12722)
In MSIE8 and below, yii.gridView file is not loaded and GridView widget is not working (throws Identifier expected error). The reason is that the variable name 'class' is a reserved word. To correct this, the variable name should be changed into an array key, which eliminates the error.

More info about the causes of error: https://tiffanybbrown.com/2013/09/10/expected-identifier-bug-in-internet-explorer-8/
2016-11-22 15:59:36 +03:00
b49ce4f0bb Fixes Gridview JS to respect # in filterUrl (#12837)
* Fixes Gridview JS to respect # in filterUrl

fixes #12836

* Update CHANGELOG.md
2016-10-26 15:08:45 +02:00
355d83ac58 Fixes #11947: Fixed gridData initialization in yii.gridView.js 2016-07-13 23:48:45 +03:00
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
fd6f536eaf YUI Compressor fix 2016-05-18 10:35:00 +05: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
b6b2befb00 Fix cutting of url params with the same name upon filtering 2015-12-03 00:33:57 +02:00
055859c90e Fix #10217 for the case when there is hidden input combined with listview 2015-11-30 13:34:40 +03:00
69ceccc213 Closes #10264: Generating of HTML tags in in yii.* JS redone in jQuery style 2015-11-27 12:53:14 +02:00
d3cfb87ba6 Enh #10217: GridView JS multiple params with the same name 2015-11-26 22:57:11 +02:00
3ee89ac42c selectedRows fix for $showHeader=false #9074 2015-08-14 22:03:42 +05:00
8ac5776a0d Changed back usage of attr() to usage of prop() for checkboxes 2015-04-12 11:46:37 +03:00
926770b7d9 Changed usage of .prop() to .attr() in order to avoid issues when working with forms having input with names matching form properties. Related to #8014. 2015-04-09 23:06:47 +03:00
52df3466f4 Reverted #7450: Don't add empty parameters to URL when filtering a grid (reverted from commit aba7710699706acb9828fa0a27a91b1d1ac0d46c) 2015-03-06 23:40:30 +03:00
aba7710699 Fixes #7450: Don't add empty parameters to URL when filtering a grid 2015-03-06 23:14:24 +03:00
dab2b03f09 Fixes #5863: Selecting all individual yii\grid\CheckboxColumn checkboxes in grid view wasn't resulting in "all" checkbox selected 2014-11-09 03:02:34 +03:00
34a2c590e4 Fixes #5117: Added beforeFilter and afterFilter JS events to GridView 2014-09-22 11:38:26 -04:00
db99b5fda5 Code cleanup - beforeFilter and afterFilter events 2014-09-22 11:35:00 -04:00
2c64ee0f1d Updated comments for beforeFilter event 2014-09-22 11:34:59 -04:00
9496c46646 Updated formatting - Created beforeFilter and afterFilter grid events 2014-09-22 11:34:59 -04:00
4c9556a9f3 Simplified afterFilter event trigger code 2014-09-22 11:34:58 -04:00
f8dc796d23 Simplified beforeFilter and afterFilter events
Removed `form` as a parameter to the events since it can be retrieved using `$grid.find('form.gridview-filter-form')`.
2014-09-22 11:34:58 -04:00
4bd8a8c9dd Corrected trigger element for beforeFilter 2014-09-22 11:34:57 -04:00
df99a2435e Updated comments for beforeFilter and afterFilter events 2014-09-22 11:34:57 -04:00
141e3d7039 Updated comments for beforeFilter event 2014-09-22 11:34:56 -04:00
f95be734cf Created beforeFilter and afterFilter grid events
Events `beforeFilter.yiiGridView` and `afterFilter.yiiGridView` javascript events created for advanced use cases.
2014-09-22 11:34:56 -04:00
48d2204226 Add event for coding post filter triggers
Trigger a new `filter.yiiGridView` event for yii grid view after grid filters are applied. This will enable developer to code a lot of use cases based on the grid filtering event. The filter `$form` can be accessed as a parameter to the event.
2014-09-22 11:34:56 -04:00
7960ccdf50 Tab to spaces conversion. 2014-03-16 20:05:54 -04:00
f5cc851fc2 return data from module scope variable 2014-03-03 22:12:40 +01:00
0e9c2890d7 remove previous attachments if any 2014-03-03 20:45:55 +01:00
f1bf859434 add multiple grid support to gridData 2014-03-02 22:42:47 +01:00
4fffe47903 fix formatting 2014-03-02 08:20:10 +01:00
ea90ac1a0f fixes #2559 2014-03-02 08:14:30 +01:00
0994615851 removed duplicated query parameters. 2014-02-05 21:08:13 -05:00
07c7236bc7 GridView filter now works with Pjax. 2014-01-30 22:04:47 -05:00
f5f5538df8 Reverted the change to gridview regarding filter submission. 2014-01-29 16:15:10 -05:00
197bf52a0f Use a hidden link to support grid filtering. 2014-01-28 23:07:48 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00