Welcome Guest Search | Active Topics | Sign In | Register

Row Number Count in the Callback mode of Grid Options
Jack.Wu
Posted: Wednesday, January 5, 2011 10:14:27 AM
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.
eo_support
Posted: Friday, January 7, 2011 10:14:10 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.