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

Grid Row adding

Thread ID:

Created:

Updated:

Platform:

Replies:

4629 May 21,2003 04:00 PM May 21,2003 04:43 PM Windows Forms 1
loading
Tags: GridControl
Ramu
Asked On May 21, 2003 04:00 PM

Hi, I am having GDBG. its completely editable. there are 4 columns and user will not be able to go to another new row without providing the values for 4 columns. i tried programatically, but couldnt acheive what i thought of. also i am trying to remove a row from the grid. but its saying no record at position 0 eventhough there are 4 rows in the grid. thanks in advance for helping me to coume out of this issue. Ram

Administrator [Syncfusion]
Replied On May 21, 2003 04:43 PM

For the first task (no empty cells), handle the RowLeave event, and check each of the 4 values to see if one is empty. If it is, set e.Cancel = true to abort the RowLeave. To remove a record, try using grid.Binder.RemoveRecords method.

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.

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.

;