We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

BindingList and AddNew

Hi,

I have got some questions about the GGC and binding to a business object (which is derived from BindingList).

Question 1:
So when the cursor is located in last row (the row with the asterisk) I press the arrow down key, a new item is added in the binding list. Now when I press ESC it seems the item is not removed from the binding list, but is also not shown in the grid. So why is it not removed from the binding list - do I have to handle this by myself?

Question 2:
As in Question 1, when the cursor is located in the last row and I press the arrow down key, a new item is added in the binding list (event is fired). But in the corresponding OnValidate method of a custom cell renderer, the CellValue is empty (null reference). It seems the grid model is not updated with the newly added item. Can you explain this behavior?

Thanks,
Tom

Loader.
Live Chat Icon For mobile
Up arrow icon