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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

BindingList and AddNew

Thread ID:

Created:

Platform:

Replies:

60744 May 10,2007 07:20 PM UTC WinForms 0
loading
Tags: GridControl
Tom
Asked On May 10, 2007 07:20 PM UTC

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;