This is a migrated thread and some comments may be shown as answers.

[Solved] How to get the CurrentSort when using advanced databinding

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
The Dude
Top achievements
Rank 2
The Dude asked on 28 Feb 2008, 10:21 PM
My intention is to save the following information in a session variable so that i can set them when i return to the page
  • Current Sort
  • Current Sort Direction
  • Current Page
  • Current Page Size
How do i retrieve this information from the grid when using the NeedDataSouce eventhandler?

How can I set the initial sort so that the arrow icon shows up correctly?

1 Answer, 1 is accepted

Sort by
0
Vladimir
Top achievements
Rank 1
answered on 29 Feb 2008, 05:44 AM
Hi Jeffrey,

You can use MasterTableView SortExpressions collection to get desired info about current grid sorting, PageSize for the page size and CurrentPageIndex for the current page index.
Tags
Grid
Asked by
The Dude
Top achievements
Rank 2
Answers by
Vladimir
Top achievements
Rank 1
Share this question
or