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

Grid Row adding

Thread ID:





4629 May 21,2003 08:00 PM UTC May 21,2003 08:43 PM UTC WinForms 1
Tags: GridControl
Asked On May 21, 2003 08:00 PM UTC

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 08:43 PM UTC

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.


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