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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

New Row in GDBG

Thread ID:





13978 May 14,2004 04:03 PM UTC May 14,2004 08:35 PM UTC WinForms 1
Tags: GridControl
Kenneth Johnson
Asked On May 14, 2004 04:03 PM UTC

When is a DataRow created for a new row in a GDBG? I have a breakpoint in the CurrentCellChangedEvent, but even after changing serveral cells in the new row, the DataRowCollection count is zero. Ken

Administrator [Syncfusion]
Replied On May 14, 2004 08:35 PM UTC

You have to leave the row before the changes are moved to the datasource. As long as you are changing the cells in the same row, the changes are cached locally. If you want to force the changes to be saved to the datasource as you leave each cell, try handling the CurrentCellMoved event. In the handler if grid.CurrentCell.MoveToRowIndex is equal to grid.CurrentCell.MoveFromRowIndex, then you can try calling grid.Binder.EndEdit().


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon