onDataReady
Is there an event that is fired when xml data is finished loading? I have a status bar at the bottom of my grid and would like to display a message such as "Record 1 through 25 out of 123" when the xml is finished downloading.
What I need is
1) an event where I can execute the Javascript
2) how can I query the xml returned from the server (to get the record count for example).
3) the returned xml looks like this. I have configured the grid to display the content of the resultset node which works fine but how can I access the stats node from JavaScript?
<queryresult>
<stats>
<fromRecord>1</fromRecord>
<toRecord>25</toRecord>
<recordCount>123</recordcount>
</stats>
<resultset>
<row>...</row>
<row>...</row>
...
</resultset>
</queryresult>
What I need is
1) an event where I can execute the Javascript
2) how can I query the xml returned from the server (to get the record count for example).
3) the returned xml looks like this. I have configured the grid to display the content of the resultset node which works fine but how can I access the stats node from JavaScript?
<queryresult>
<stats>
<fromRecord>1</fromRecord>
<toRecord>25</toRecord>
<recordCount>123</recordcount>
</stats>
<resultset>
<row>...</row>
<row>...</row>
...
</resultset>
</queryresult>
February 8,