It's still unclear whether the root cause of this problem is a usage issue or an actual framework bug.
You mention that the ListGrid is in a state that you seem to think is an indication of a problem:
the ListGrid with zero rows returns null from getEditForm(), it still returns 1 from getTotalRows() and the data array from getData() is an empty array
As far as how you ultimately get the ListGrid into a state where there should be an editForm but isn't, we mentioned this usage problem in your code:
2. it makes no sense to override filterData() and then call setData() with an Array. You should either allow filterData() to work as designed and create a ResultSet, or you should use DataSource.fetchData() to retrieve data, and apply that via setData(). Mixing filterData() and setData() sets the grid up to expect that it will be managing a ResultSet, then swaps in a different kind of dataset midway through.
Leave a comment: