Rank: Advanced Member Groups: Member
Joined: 5/22/2009 Posts: 33
|
Hello Sir,
I noticed that the RowNumberColumn will be always counting from 1 to PageSize in the Grid. Is there any example to display the correct row number just like the Client Mode? For example, I have a datasource toally have 200 records. I would like to show 40 records for each page with the Callback mode. I need to display the row number from 41 to 80 when user click the page 2 link, 81 to 120 when click page 3. Any solution for that? Thank you.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You will need to use a StaticColumn and manually create a row number field in your data source for that. It will be just like another data field in your data source that you bind to the column. The built-in RowNumberColumn won't do that for you.
Thanks!
|