[CLOSED] How to get a client reference of the GridPanel object from its Filter plugins?

  1. #1

    [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:

    <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]
  2. #2
    Hello!

    It seems that there is no way to get a grid instance from a filter event handler. Your approach to solve it is a good one.
  3. #3
    Thanks Daulet! You may close this down.

Similar Threads

  1. Replies: 2
    Last Post: Dec 17, 2012, 3:00 AM
  2. Replies: 1
    Last Post: Jun 27, 2012, 9:19 PM
  3. [CLOSED] GridPanel with Local Filter in HeaderRow instead of Plugins
    By mgowder in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Apr 13, 2011, 3:52 PM
  4. Replies: 0
    Last Post: Jun 03, 2009, 4:18 AM
  5. [CLOSED] Ext Object Reference
    By Ben in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 08, 2009, 7:03 PM

Tags for this Thread

Posting Permissions