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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDBG - update filter combo box list of values

Thread ID:





23974 Jan 26,2005 09:06 AM UTC Jan 26,2005 10:48 AM UTC WinForms 1
Tags: GridControl
Gil Kalo
Asked On January 26, 2005 09:06 AM UTC

Hi, I have a GDBG which is fully editable. When activating the filter bar, the combos in the bar contains the values in each column. I would like the lists in the combo to be automatically update when the user edits the grid. This is not happening. In order to refresh the filter bar combo box lists, I need to remove the bar and add it again. I created my own GridFilterBar object which inherits from GridFilterBar. Then, on grid current cell edit complete, I''m creating the list for the column filter combo again, and this is working fine. The only problem is that I don''t see the changes till I click with the mouse on the filter bar and move to another row. Only then, the combo changes are seen. How can I see the changes immidiatly? Maybe another way to do it? Thank you, Gil K

Administrator [Syncfusion]
Replied On January 26, 2005 10:48 AM UTC

Another way you can accomplish this task is to generate the list as the filterbar cell is dropped. This way, you would always be assured of only using the latest values in the grid as the lists would be created immediately before the list is dropped. Here is a thread that discusses doing something similar. Regarding the changes not taking effect until you click on and off the filterbar cell, you should check and make sure the new value is actually being placed in the list. If it is not, try calling grid.CurrentCell.ConfirmChanges and grid.Binder.EndEdit before you regenerate the filterbar.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon