Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
How to top ActiveDataItem in xamDataGrid
posted

Hi, is there any solution to make ActiveDataItem always show in first record?

For example, I click Bookmak button to bookmark several records, then I click previous or next button to show bookmarked records, in this behavior, 

I want the active bookmarked record always show in top like above picture, but actually it like this:

I use following code to bring ActiveDataItem to view:

channelDataGrid.BringDataItemIntoView(channelDataGrid.ActiveDataItem, false);

channelDataGrid.ExecuteCommand(DataPresenterCommands.RecordPageBelow);

But it can't make ActiveDataItem to top one.

Is there any solution? Thank you!

Parents
No Data
Reply Children
No Data