Hi, is there any way to select the row in UltraGrid which is bound to particular object in collection if you have this object? I mean something faster then direct loop over row collection and comparing its ListObject property with target object
Thanks
Yes, but it also fires when the grid is notified of a change in the data by the data source.
So I think the idea is, set a flag on the form, then change a value of the item in your data source. When CellChange fires, check the flag, then reset the flag and select the row. That way the grid finds the row for you.
Thank you for the answare.
I have the same problem, but i'm not able to understand solution:
CellChange is raised when user change text into an edit-mode cell, isn't it?
Very clever. :)
I would try modifying a hidden property of the bound object and select the row in the CellChanged event.
Thanks) good trick!