[CLOSED] Get Grid Height on client after direct event reload

  1. #1

    [CLOSED] Get Grid Height on client after direct event reload

    I have a grid that reloads via DirectMethod. Once that's done, I'd like to resize a portal window based on the height of the grid. How can I get the grid height AFTER it reloads?
    Last edited by geoffrey.mcgill; Jan 23, 2011 at 4:29 AM. Reason: [CLOSED]
  2. #2
    Hi,

    I can suggest you to handle Load event of Store.

    Example
    <ext:Store ...>
        ...
        <Listeners>
            <Load Handler="alert(GridPanel1.getHeight());" />
        </Listeners>
    </ext:Store>
  3. #3

    [CLOSED]

    Works like a charm!!!
    Thanks!

Similar Threads

  1. Replies: 4
    Last Post: Apr 30, 2012, 4:49 PM
  2. [CLOSED] reload store and grid on client side
    By ryan.kim in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 12, 2011, 12:39 PM
  3. [CLOSED] [1.0]Editable Grid and Direct Event
    By FVNoel in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 14, 2011, 12:50 PM
  4. Replies: 3
    Last Post: Mar 23, 2011, 5:32 PM
  5. Execute Ajax/Direct Event from Client-Side?
    By Tbaseflug in forum 1.x Help
    Replies: 5
    Last Post: Dec 16, 2010, 5:35 PM

Posting Permissions