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.
ADAdministrator Syncfusion Team 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.