Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: datagrid sorting problem

$
0
0
Hi,

In the DataGrid, sorting is done in the grid and can't be done only within groups.

The reason why the grid could be jumping all over the screen may be because the current item wants to stay on screen. So when the sorting changes, the current item has a new position and this position is now into view. You could try to set DataGridControl.AutoScrollCurrentItem from AutoScrollCurrentItemTriggers.All to AutoScrollCurrentItemTriggers.None. This, way, the current item would not stay in view, and no scrolling would happen.

If I Collapse some groups and click on a column to do a sort, the collapsed groups remains collapsed and the expanded groups remains expanded.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>