Hi,
I'm having a strange problem. I have a databound ListGrid, and a button which simply calls:
But when the fetchData is executed, the Datasource.executeFetch is fired 3 times. I can't figure it out. This is having the strange effect of duplicate rows being added to the grid.
For example: the executeFetch fires an RPC which always returns 4 rows. However, because it is fired 3 times, in quick succession, I get some duplicates in the grid:
Row 1
Row 2
Row 3
Row 4
Row 1
Row 2
Row 3
I'm at a loss as to why or how this could happen. Has anybody encountered something similar?
I'm having a strange problem. I have a databound ListGrid, and a button which simply calls:
Code:
grid.invalidateCache(); grid.fetchData();
For example: the executeFetch fires an RPC which always returns 4 rows. However, because it is fired 3 times, in quick succession, I get some duplicates in the grid:
Row 1
Row 2
Row 3
Row 4
Row 1
Row 2
Row 3
I'm at a loss as to why or how this could happen. Has anybody encountered something similar?
Comment