Hi,
How do I sort a column programatically ?
I would like to have a function such as
myWPFDataGrid.Columns[0].Sort(..)
MadSeb
Hi,
How do I sort a column programatically ?
I would like to have a function such as
myWPFDataGrid.Columns[0].Sort(..)
MadSeb
Use an ICollectionView
as your ItemsSource and CollectionViewSource
to generate it. You can set the sort descriptions there and it'll sort your items for you.