wpf - using Icomparer to sort with special condition -
in project have need sort datagrid column if condition holds true item should @ top(first item) of sorted list. otherwise if condition not hold item should simple sorted list.
i tries using sorting event , defining icomparer not manage desired behavior. code put in icomparer can return item condition true @ top , rest item in sorted fashion.
please can help
it sounds want sort "certain condition" other sort critiria. should case of prepending condition list of sort descriptions in collectionview.
Comments
Post a Comment