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
close icon

Delete the selected record programmatically

Hi, How do you delete the currently selected record programmatically.

I have tried:
//grdSavedPlans.Table.SelectedRecords[0].Record.Delete();
//grdSavedPlans.Table.SelectedRecords.DeleteAll();
grdSavedPlans.Table.CurrentRecord.Delete();
//grdSavedPlans.Table.Records.Delete(grdSavedPlans.Table.SelectedRecords[0].Record);
//grdSavedPlans.DataSource = DB.RecentPlan.LoadAll();
//grdSavedPlans.Refresh();



On a side note is there any plans on improving the search engine for the forums and for the online documents? It seems like they are not very useful.


1 Reply

JJ Jisha Joy Syncfusion Team October 12, 2010 05:39 AM UTC

Hi David,

You could use the following code to delete the currenr record. See the code:

this.gridGroupingControl1.Table.CurrentRecord.Delete();


Regards,
Jisha


Loader.
Live Chat Icon For mobile
Up arrow icon