ListGrid ResultSet

Hi, how do you get a resultset from a listgrid. Before, it was just Listgrid.data if the listgrid is bind to a datasource. However, now it’s just an empty array. So what methods do I call to get the resultset of a listgrid? Thanks.

Not sure what you mean by “before” and “now” because nothing has changed about this since about 2002 :slight_smile:

ListGrid.data becomes a ResultSet as soon as ListGrid.fetchData() is called.

Sorry, what I meant by before and after is upgrading. After the upgrade, my listgrid.data gives me back blank result instead of a resultset object. Do you know why? Thanks.

Again, nothing has changed about the behavior involved since 2002. After fetchData() is called, listGrid.data is a ResultSet, before then, it is not. There’s no way to provide more specific help until you share details of the problem.

For all we know, maybe you inadvertently reverted to an older version of your own application code when you upgraded SmartClient, we’ve seen that a few times :slight_smile: