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.

GDBG - update filter combo box list of values

Thread ID:

Created:

Updated:

Platform:

Replies:

23974 Jan 26,2005 04:06 AM Jan 26,2005 05:48 AM Windows Forms 1
loading
Tags: GridControl
Gil Kalo
Asked On January 26, 2005 04:06 AM

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 05:48 AM

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. http://64.78.18.34/Support/Forums/message.aspx?MessageID=23781 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.

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.

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.

;