TA
Tom Affholter
July 16, 2007 09:21 PM UTC
I disabled the delete key be turning off delete (enableremove) from the grid. I can hard code a solution to my challenge but I really need some idea why my previous method was not working.
Thanks,
Tom
HA
haneefm
Syncfusion Team
July 16, 2007 09:26 PM UTC
Hi Tom,
I tried to reproduce the problem you reported by adding a GridDataBoundGrid to form with a button and this handler.
private void button1_Click(object sender, System.EventArgs e)
{
Console.WriteLine(dt.Rows.Count);
this.gridDataBoundGrid1.DeleteRecordsAtRowIndex(1,1);
Console.WriteLine(dt.Rows.Count);
}
dt is a DataTable that I had set to be the grid''s DataSource in formload. With this code I do not see a problem (using Essentail Studio 5.1).
Can you tell me how to see this problem in one of our samples, or can you post a sample project showing the problem?
Best regards,
Haneef