PDA

View Full Version : How to configure one-based paginating AJAX proxy.



ewan
13 Feb 2012, 9:47 AM
What's the simplest way to configure an AJAX proxy for one-based pagination instead of zero-based? The pagination style here uses startParam & limitParam only. My server interprets a startParam of zero as a protocol error.

I see hardcoded expressions in the EXT JS library to calculate a start value, like this:


start = (page - 1) * me.pageSize

However, I doubt the designer will easily allow me to override the methods that contain these expressions.