Filtered grid view (DevExpress) does not update, if datasource was changed

Filtered grid view (DevExpress) does not update, if datasource was changed

Old forum URL: forums.lhotka.net/forums/t/6397.aspx


ivratchanski posted on Tuesday, February 10, 2009

I am using very simple Form with DevExpress XtraGrid bound to CSLA BLB object.

If I apply filter on the grid and then add child object to the DataSource BLB (not through grid interface) it does not show new element in the grid, even it conforms to filter.
I have to reapply filter to show new object.

Everything work fine if grid does not have filter.

If I change DataSource object to BindingList<MyBB> with applied filter it works fine.

Only when DataSource is BLB<MyBB> and grid has filter it should not show new elements.

Am I missing something in my CSLA BLB classes? (they are pretty simple)

 

Copyright (c) Marimer LLC