Hi,
I am using the CFGrid in Coldfusion 8 which is essentially the Ext1.1.1 Grid object.
I have set my Footer toolbar to have pagination and to display the 'Displaying {0} - {1} of {2}' message as per code below. It works lovely except on the last page, if say there are 14 records, it will say 'Displaying 11 to 20 of 14', so it seems the rows are getting counted instead of the actual data rows.

Does anyone know if there is a way around this? Any help would be greatly appreciated, pretty please :o)


var paging = new Ext.PagingToolbar(gridFoot,grid.getDataSource(),{
pageSize:10, //number of records displayed in grid
displayInfo:true,
displayMsg:'Displaying {0} - {1} of {2}',
emptyMsg:"No records to display"
});

Thanks