0

My final goal is to have a Grid with multi column sorting (by Ctrl-Click on the column headers) using data from NHibernate. For that purpose I plan to use ComponentOne's FlexGrid for WinForms. According to it's documentation it supports sorting if the given DataSource does so.

I'm not yet sure if I'm going to use paging. But if so, sorting should definitely take place inside or below NHibernate.

  • How is sorting supported by Winforms Databindings?
  • Are there any samples/classes supporting a bindable/sortable way connecting a Grid with NHibernate?
4

1 回答 1

0

您可以实现IBindingListView支持多列排序的接口并将实现者设置为数据源。它应该与 Datagridview 一起使用,但不知道 FlexGrid 是否支持它。

于 2012-01-06T15:47:53.950 回答