View Full Version : Grid not showing all the data

1 Aug 2007, 9:18 PM
Is there a reason why a grid may not show all the data returned to it (via xml)?

when the grid loads it only loads 9.
when i click forward for pagination it loads 10
next click forward loads 16
next click forward loads 20
next click forward is 21

why would this be happening? The xml i am loading in has 25 records each time ( i double checked) The baseparam for limit is 25.

What should i be checking for?

Am i messing something up with the datasource by performing the following upon datasource load?

function getgridIds() {
var recordCount = ds.getCount();
rows = ds.getRange(0,recordCount);
var BeginId = rows[0].id
var EndId = rows[recordCount-1].id

ds.baseParams = { 'endid': EndId,
'startid': BeginId

2 Aug 2007, 2:03 PM
Look at the outgoing request in Firebug to see what parms actually being passed and then what your server code is seeing.

2 Aug 2007, 7:15 PM
that's the strange thing...the post is correct and the response (xml) has all the info that the grid should be loading (but it's not). It's so wierd..i'm using ext 1.1 beta1. Any chance of it being a bug?

2 Aug 2007, 7:38 PM
Well seeing as that's multiple releases old, I would certainly update to the 1.1 final release before spending time chasing a possible fixed issue.

5 Aug 2007, 6:04 AM
Updated to 1.1 and still getting the same problem. The only difference is that I'm not using the start value the grid sends in the post. I created my own start value (unique id) that i use. This shouldn't matter though, because the resultset coming back to the grid is accurate. Shouldn't the grid simply load the data?

Any ideas?