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?
ADAdministrator Syncfusion Team 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://184.108.40.206/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.