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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridFilterBar in a GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

2774 Feb 13,2003 05:32 AM Feb 14,2003 04:49 AM Windows Forms 1
loading
Tags: GridControl
Kenneth Johnson
Asked On February 13, 2003 05:32 AM

What I'm trying to do is to have the grid display empty and then allow the user to utilize the filter bar to determine what to display. The GridFilterBar will only show the values from the displayed grid column in the combobox dropdown list. How can I manually load the filter's dropdown list with all possible distinct values from the datasource?

Administrator [Syncfusion]
Replied On February 14, 2003 04:49 AM

Here is one thing that would be simple to try to see if this will give you the behavior you are looking for. Go ahead and fill your datatable and set it as the datasource in the grid. Then directly apply a RowFilter on its default view that returns no rows. This means the grid should appear empty, but the underlying full datatable is there as its datasource. Then create your GridFilterBar. Its should create the dropdowns based on the contents of the full table. Attached is a sample.

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

;