Apr 19, 2013, 8:36 PM
[CLOSED] How to get a client reference of the GridPanel object from its Filter plugins?
Hi,
Is it possible to get a client reference to the GridPanel object from its Filter plugins events, e.g. Activate and Deactivate? If not, could you suggest a robust approach to accomplish it?
Update:
I came up with a custom property assignment in the GridPanel's Render listener but not convinced if this is the best practice:
Is it possible to get a client reference to the GridPanel object from its Filter plugins events, e.g. Activate and Deactivate? If not, could you suggest a robust approach to accomplish it?
Update:
I came up with a custom property assignment in the GridPanel's Render listener but not convinced if this is the best practice:
<Render Handler="var grid=this;
this.filters.filters.each(function (filter) {
filter.grid=grid;
});" />
Last edited by Baidaly; Apr 20, 2013 at 2:51 AM.
Reason: [CLOSED]