PDA

View Full Version : Unecessary queries for a buffered grid



kerbo
1 Feb 2013, 12:57 PM
I have a buffered grid with the following store settings:

pageSize: 200
leadingBufferZone: 400
trailingBufferZone: 200
purgePageCount: 6

My query returns 71 rows however in FireBug, I see three Ajax queries. If all of the rows were returned in the first query, why does the grid do two more unneeded queries?

Is this a bug?

kerbo
1 Feb 2013, 1:12 PM
I did more experimenting. If the rows from the query all display within the visible grid, then only one query is executed. If the number of rows are larger than can be displayed, then there will be multiple queries.