:: Forum >>

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>
Sunday, February 8, 2004
In the meantime you can plug your code into the data model response method as discussed here:

http://www.activewidgets.com/messages/389-2.htm
Alex (ActiveWidgets)
Tuesday, February 10, 2004

This topic is archived.


Back to support forum

Forum search