Thank you very much for your quick response.
I am only adding/modifying the one DataSource as you did in the example you attached. When I run your example it behaves as my code does but neither our versions update the filter with new values that have been added. In your example when I press the button to ''add X Row'' I need the ''xrow xcol'' value to be included in the drop down of the filter bar, but the only way I have found to do this is to unwire/rewire the filterbar to the grid. The same goes for the button that modifies row 2 of the grid. After I click the button the next time I view the filter options by clicking on the combobox I would expect to see the old value for row 2 removed and the new one in its place. Whatever changes I make to the datasource, none are reflected in the filterbar. Is there any way that this can be done without the need to unwire/rewire?
Thanks again for your help,
>If you are only adding new rows to the existing DataSource or modifying existing rows in the DataSource, I am not sure there is a need to wire and unwire the FilterBar. Here is a little sample.
>If you filter on column 1 begins with r, and then click the buttons to either add a new row starting with r or not starting with r, things seems to behave as expected. If you change an existing row to no longer staify the filter (so it does not start with r), things still behave as expected.
>Now if you are actually changing the DataSource of the grid, then you would have to unwire and rewire the filterbar. But if this is the case, there would be no expectation that the data before the change would be the same as the data after teh change, and thus things like selections and current cells are not maintained as they may not make sense with the new data.
>If your situation is such that they will make sense, then you would have to cache CurrentCell.RowIndex/COlIndex before the change, and then reset it after the change using grid.CurrentCell.MoveTo to position the current cell to where it was before the change. If you want the selections to persist across this operation, you would have to cache grid.Selections.Ranges and reset them after the operation.