Changing index for a child item from BLB when BO undo is called

Changing index for a child item from BLB when BO undo is called

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


lupanmarian posted on Friday, August 28, 2009

Hi all,

I have a problem with user interface editing for an object with this structure:
BO - parent
----- BLB - collection
------ BO -child
I' m using a Janus gridex for collection editing (adding, updating, deleting child object). I override AddNewCore method in BLB class.

All is working, but I discovered a strange behaviour when I' m trying to delete a row from gridex, other than the last one.
If the operation is saved, this row is removed from DeletedList and from database.
If I undo this operation, the deleted row is added on the last position of gridex, not in the initial position.

I'm using properly RebindUI method in user interface.


Thanks

Copyright (c) Marimer LLC