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

GridFilterBar in a GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

2774 Feb 13,2003 10:32 AM UTC Feb 14,2003 09:49 AM UTC WinForms 1
loading
Tags: GridControl
Kenneth Johnson
Asked On February 13, 2003 10:32 AM UTC

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 09:49 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;