Hi there,
I'm currently switching my ListGrids from the current "flickery" method of updating via grid.fetchData() to the "non-flickery" way of updating, via DataSource.fetchData(crit, callback)
But I've hit a little snag. How do I convert the callback's "Object rawData" into a Record array?
I've read in the javadocs that:
"In contrast to ListGrid.fetchData(), which creates a ResultSet to manage the returned data, calling dataSource.fetchData() provides the returned data in the callback as a simple JavaScript Array of JavaScript Objects."
Any tips? I haven't played with JavaScriptObject objects before.
Thanks!
Alan
I'm currently switching my ListGrids from the current "flickery" method of updating via grid.fetchData() to the "non-flickery" way of updating, via DataSource.fetchData(crit, callback)
But I've hit a little snag. How do I convert the callback's "Object rawData" into a Record array?
I've read in the javadocs that:
"In contrast to ListGrid.fetchData(), which creates a ResultSet to manage the returned data, calling dataSource.fetchData() provides the returned data in the callback as a simple JavaScript Array of JavaScript Objects."
Any tips? I haven't played with JavaScriptObject objects before.
Thanks!
Alan
Comment