Commit Graph

31 Commits

Author SHA1 Message Date
Pavel Solomienko
b6b2befb00 Fix cutting of url params with the same name upon filtering 2015-12-03 00:33:57 +02:00
Pavel
055859c90e Fix #10217 for the case when there is hidden input combined with listview 2015-11-30 13:34:40 +03:00
SilverFire - Dmitry Naumenko
69ceccc213 Closes #10264: Generating of HTML tags in in yii.* JS redone in jQuery style 2015-11-27 12:53:14 +02:00
SilverFire - Dmitry Naumenko
d3cfb87ba6 Enh #10217: GridView JS multiple params with the same name 2015-11-26 22:57:11 +02:00
Alexander Makarov
8ac5776a0d Changed back usage of attr() to usage of prop() for checkboxes 2015-04-12 11:46:37 +03:00
Alexander Makarov
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
Alexander Makarov
52df3466f4 Reverted #7450: Don't add empty parameters to URL when filtering a grid (reverted from commit aba7710699) 2015-03-06 23:40:30 +03:00
Yurii K
aba7710699 Fixes #7450: Don't add empty parameters to URL when filtering a grid 2015-03-06 23:14:24 +03:00
Alexander Makarov
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
Qiang Xue
34a2c590e4 Fixes #5117: Added beforeFilter and afterFilter JS events to GridView 2014-09-22 11:38:26 -04:00
Kartik Visweswaran
db99b5fda5 Code cleanup - beforeFilter and afterFilter events 2014-09-22 11:35:00 -04:00
Kartik Visweswaran
2c64ee0f1d Updated comments for beforeFilter event 2014-09-22 11:34:59 -04:00
Kartik Visweswaran
9496c46646 Updated formatting - Created beforeFilter and afterFilter grid events 2014-09-22 11:34:59 -04:00
Kartik Visweswaran
4c9556a9f3 Simplified afterFilter event trigger code 2014-09-22 11:34:58 -04:00
Kartik Visweswaran
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
Kartik Visweswaran
4bd8a8c9dd Corrected trigger element for beforeFilter 2014-09-22 11:34:57 -04:00
Kartik Visweswaran
df99a2435e Updated comments for beforeFilter and afterFilter events 2014-09-22 11:34:57 -04:00
Kartik Visweswaran
141e3d7039 Updated comments for beforeFilter event 2014-09-22 11:34:56 -04:00
Kartik Visweswaran
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
Kartik Visweswaran
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
Qiang Xue
7960ccdf50 Tab to spaces conversion. 2014-03-16 20:05:54 -04:00
Antonio Ramirez
f5cc851fc2 return data from module scope variable 2014-03-03 22:12:40 +01:00
Antonio Ramirez
0e9c2890d7 remove previous attachments if any 2014-03-03 20:45:55 +01:00
Antonio Ramirez
f1bf859434 add multiple grid support to gridData 2014-03-02 22:42:47 +01:00
Antonio Ramirez
4fffe47903 fix formatting 2014-03-02 08:20:10 +01:00
Antonio Ramirez
ea90ac1a0f fixes #2559 2014-03-02 08:14:30 +01:00
Qiang Xue
0994615851 removed duplicated query parameters. 2014-02-05 21:08:13 -05:00
Qiang Xue
07c7236bc7 GridView filter now works with Pjax. 2014-01-30 22:04:47 -05:00
Qiang Xue
f5f5538df8 Reverted the change to gridview regarding filter submission. 2014-01-29 16:15:10 -05:00
Qiang Xue
197bf52a0f Use a hidden link to support grid filtering. 2014-01-28 23:07:48 -05:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00