We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataBoundGrid, IList and the FilterBar

Thread ID:

Created:

Updated:

Platform:

Replies:

38246 Dec 8,2005 07:15 PM UTC Dec 9,2005 06:39 PM UTC WinForms 2
loading
Tags: GridControl
Cody Barnes
Asked On December 8, 2005 07:15 PM UTC

I am attempting to bind to a GridDataBoundGrid to an object that supports IList. When I attempt to use a FilterBar, the header row disappears. Upon further invesitgation, it appears as if the FilterBar was only ment to be used on grids that are bound to DataTables. Does anybody have experience in getting the FilterBar to work with data sources other than DataTables?

Administrator [Syncfusion]
Replied On December 8, 2005 07:35 PM UTC

The GridDataBoundGrid uses a DataView object associated with a DataTable to implement filtering. So, the default filter support only works with a DataTable/DataView datasource. If you want filtering supported for an arbitrary IList object, you can use a GridGroupingControl.

Cody Barnes
Replied On December 9, 2005 06:39 PM UTC

We are using the DataBoundGrid for several other nearly identical forms. Since the GridGroupingControl has a significantly different object model and some different behaviors, it will not work for us. I have gotten around the problem by having our datasource class supply a dataset and respond to all of the dataset events and keeps it synchronized with the underlying data. This round-about way of handling the data will work for our current situation, however I would like to request that future versions of the GridFilterBar be able to handle any datasources that implement IList. Thank you, -Cody Barnes

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;