System.ComponentModel.ListSortDirection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a derived BindingList that implements sorting, this has been working
fine.

however when i click a grid column header the ListSortDirection on entry to
ApplySortCore is *** always *** Ascending.
Any idea why this has happened?
---guy---
 
Hi,

guy said:
I have a derived BindingList that implements sorting, this has been working
fine.

however when i click a grid column header the ListSortDirection on entry
to
ApplySortCore is *** always *** Ascending.

Did you also override SortDirectionCore and SortPropertyCore, it should
return the current sort direction and respectively the current sort
PropertyDescriptor. You must also override IsSortedCore.

HTH,
Greetings
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top