This question is locked. New answers and comments are not allowed.
I have a Data grid that looks like so:
<
grid:RadDataGrid
Grid.Row
=
"1"
ItemsSource
=
"{Binding Notes}"
AutoGenerateColumns
=
"False"
UserEditMode
=
"None"
UserFilterMode
=
"Disabled"
UserGroupMode
=
"Disabled"
SelectionMode
=
"None"
>
<
grid:RadDataGrid.Columns
>
<
grid:DataGridDateColumn
Header
=
"Time"
PropertyName
=
"Time"
CellContentFormat
=
"{}{0:g}"
SizeMode
=
"Auto"
SortDirection
=
"Descending"
/>
<
grid:DataGridTextColumn
Header
=
"Note"
PropertyName
=
"Message"
SizeMode
=
"Stretch"
/>
</
grid:RadDataGrid.Columns
>
</
grid:RadDataGrid
>
The Time column shows the correct sort direction indicator but when the data changes (Notes is an ObservableCollection) it is not sorted automatically. Do I have to pre-sort the data I added to Notes? This seems a bit redundant.