Hi,
I use WinForms grid grouping control. I bind an empty datatable to the grid. When I try to add new rows, I get a message "AddNew not called".
When I bind a datatable having at leaset one row, everything works fine.
I use version 4.3.0.30 with .NET1.1. Could someone let me know what is going wrong?
Thanks!
RC
Rajadurai C
Syncfusion Team
February 20, 2009 03:41 PM UTC
Hi Siva,
Thanks for your interest in Syncfusion products.
Please try calling the AddNew() method while forcing the new record to add to the grid.
this.gridGroupingControl1.Table.AddNew();
This initializes the table by calling BeginEdit() method.
Regards,
Rajadurai
SI
Siva
February 20, 2009 05:28 PM UTC
Thanks for the reply.
Where am I suppoed to call "this.gridGroupingControl1.Table.AddNew();" ( I mean in which event handler )?
Thanks again!
>Hi Siva,
Thanks for your interest in Syncfusion products.
Please try calling the AddNew() method while forcing the new record to add to the grid.
this.gridGroupingControl1.Table.AddNew();
This initializes the table by calling BeginEdit() method.
Regards,
Rajadurai
RC
Rajadurai C
Syncfusion Team
February 23, 2009 02:48 PM UTC
Hi Siva,
You can try to handle this method invocation in CurrentCellEditingComplete event by checking if the currentcell is in addnewrecord.
Regards,
Rajadurai