Commit 48d22042 by Kartik Visweswaran Committed by Qiang Xue

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.
parent 3d55ee5a
......@@ -82,6 +82,9 @@
$form.append($('<input type="hidden" name="t" value="" />').attr('name', name).val(value));
});
$form.submit();
// triggers a filter grid event with the filter form as a parameter
$grid.trigger('filter.yiiGridView', [$form]);
},
setSelectionColumn: function (options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment