Results 1 to 2 of 2

Thread: Detect moment data grid is complete loaded

  1. #1

    Default Detect moment data grid is complete loaded

    Hi all.
    i'm using yui-ext grid with XMLdataModel.
    I load a xml file with

    Code:
    dataModel.load('file.xml');
    this is a larger data file and it apears in browser a few seconds after i calling it.

    My question is how i can detect the moment when my data is complete loaded in grid (when the data apears in browser)... i need it for add other data in cells, otherwise i try put these other data and the error occurs because the grid isn't loaded yet.

    Exists some event/function for this prupose?

    Thank you! and sorry for my bad english.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    The 'load' event is fired when the data is loaded. Loading the grid is async process, so you can't just continue processing after your load().

Similar Threads

  1. Detect collapse state
    By heidtmare in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 19 Sep 2007, 6:33 PM
  2. Complete Grid/mySQL/PHP example anyone?
    By perlmonger in forum Ext 1.x: Help & Discussion
    Replies: 10
    Last Post: 15 Jul 2007, 11:41 AM
  3. Detect when document is completly loaded (even images)
    By pbrosset in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 1 Dec 2006, 6:08 AM
  4. IE does not show grit data when loaded remotly
    By schmidetzki in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 19 Oct 2006, 6:52 AM
  5. Auto-Complete and Grid
    By techno_adi in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 21 Sep 2006, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •