:: Forum >>

How to add row counter offset

Hi,

I've implemented a pager so and read data from a database, but when I'm on page 2 etc I would like the row count in the row header to start at 11 for example not 1.

How would I do this?

Thanks.
TenC
Tuesday, December 20, 2005
Set a variable to to the 'starting value' then in your function to set the selector value, add that value to it.
Jim Hunter
Tuesday, December 20, 2005
I'm using the php script which auto creates the active grid, but this doesn't seem to indicate where I could add this, so I'm assuming it's hidden away in the javascript code.

Does anybody happen to have js code example?
TenC
Tuesday, December 20, 2005
would there be a function that sets the values for the row header?
TenC
Tuesday, December 20, 2005

This topic is archived.


Back to support forum

Forum search