Sorting Columns of Detail Datagridview

Sorting Columns of Detail Datagridview

Old forum URL: forums.lhotka.net/forums/t/4279.aspx


dx2008 posted on Friday, February 01, 2008

Hello to all.


This is my first post and I hope not the last one. A big thanks to you Rocky for this framework.

For the last 10 days I’m experimenting with CSLA 2.1.4. and I  have a problem with the following situation.


I have a Master BussinessBase with BusinesslistBase of child BussinessBase. I have also a win form with the details of master and a datagridview of BusinesslistBase. My question is how do I implement SortedBindingList with BusinesslistBase to be able to sort child datagridview colums.


When tried with ColumnheaderMouseClick to sort datagridview I got the following error “DataGridView control cannot be sorted if it is bound to an IBindingList that does not support sorting.”.


Thanks in advance. Smile [:)]

jstevens replied on Monday, February 04, 2008

this issue comes up quite a bit on the forums - see:

http://forums.lhotka.net/forums/thread/13802.aspx

http://forums.lhotka.net/forums/thread/20078.aspx

these threads should point you in the right direction

Copyright (c) Marimer LLC