xtragrid Child Collection Reset Issue

xtragrid Child Collection Reset Issue

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


AbbasMalik posted on Thursday, September 25, 2014

Hi

I have devex extragrid bound to an editable child collection via bindingsource in windows form. Grid automatically adds new row. But when I change any cell in the new row, the datasource is reset automatically and focus moves to the first row.

Any clue? Why is it resetting the datasource?

Best regards
Abbas

AbbasMalik replied on Thursday, September 25, 2014

After upgrading to version 4.5.601 and adding following line to the configuration file, it seems working.

<add key="CslaPropertyChangedMode" value="Windows" />

Thanks
Abbas

ajj3085 replied on Thursday, September 25, 2014

Yes, if you're using WinForms and a newer version of Csla, you must set that in your config file.  Your BLB should also subclass Csla.Windows.BusinessListBase.

AbbasMalik replied on Thursday, September 25, 2014

Thanks Andy
I have inherited child collections from BusinessBindingListBase.

Copyright (c) Marimer LLC