Browse by Tags
All Tags » Sorting (RSS)
Showing page 1 of 4 (37 total posts)
-
we have implemented the Pagination control which will be used as data source for xceed data grid. data pages should be determined by current column sort state.
so sorting have to perform at server-side, so we disabled the default sort for very column.we added button control to column TitleTemplate to handle column click, in event ...
-
There is probably a very simple flag for this... I have a dataset that comes presorted, it has a column called IsFavorite. Imagine
true result1true result2false result3true result4false result5
When I group by IsFavorite and take the empty sort OR apply the ascending sort, I see (correctly)
IsFavorite: ...
-
Sure. Here's a screenshot of the grid.
http://i.imgur.com/gItk5.png
Each of these rows is a group summary header. As you can see I've tried to sort by Total P&L but the header rows don't sort. If you drill down to the final level you do find the content within the ''Instrument'' group has sorted by Total P&L. I'd like to know how I can ...
-
Is it possible to sort the groups based on the values in the summary row header? For instance, when I click on the column header to sort it sorts the contents of the groups but not the groups summary headers themselves. Is is possible to have it sort both?
Thank you.
-
You can accomplish multiple sorting with
You need to attach to both MouseLeftButtonDown and Up
<Style TargetType=''{x:Type DataGrid:ColumnManagerCell}''>
<EventSetter Event=''PreviewMouseRightButtonDown'' Handler=''Header_PreviewMouseRightButtonDown''/>
<EventSetter Event=''PreviewMouseLeftButtonUp'' ...
-
Hello,I have a few questions/problems in regards to the WPF datagrid. I am evaluating your program and we are ready to buy it if I can solve these little problems. I created a sample originally based on your sample LargeDataSets. My real application currently uses Xceed grids (winform). We want to change to datagrid WPF mostly because of ...
-
Hi,
I am also observing the same behaviour. Its not sorting based on the converted values instead it is sorting on the raw data which is bind to the Grid.
what could be the solution of this ?
Thanks
Saurabh
-
Hi Hans, The DataGrid doesn't sort columns when it performs grouping. It creates the groups in the same order that they come in the data source. If a Table is grouped by Column X, the ''Groups'' can only be sorted by column X, sorting by another record Y will result in sorting the items inside the groups and not the groups themselves.So ...
-
Hi,
I'll try to rephrase it.
There are two visual states of the grid:
1. Grid has no sorting glyphs displayed in any column header.
2. Grid has a sorting glyph displayed in one of grid's column headers.
I need to get the grid from state 1 to state 2 and I don't want to let the grid to sort data by itself (as I wrote I fetch data ...
-
Hi Michel,
Partially.
I am aware of those DataTemplates but I don't know how to use them. I have a grid filled with records and I need to (at runtime) DISPLAY the glyph in column's header. How can I do that?
Vit
1
|
|
|
|