How to allow user to add rows to gridControl

Hi, everyone

I'd like to know how to allow user to add rows to Syncfusion's gridControl.
It should be something similar to the property AllowUserToAddRows of datagridview control in Visual Studio (something like gridControl1.AllowUserToAddRows).

Regards,
Allon

1 Reply

RC Rajadurai C Syncfusion Team August 27, 2009 04:04 AM UTC

Hi Allon,

Thanks for your interest in Syncfusion Products.

In Syncfusion grids, GridControl doesn't have option similar to AllowUserToAddRows property of Datagridview. It is an unbound grid. However, the bounded grids, GridGroupingControl and GridDataBoundGrid have properties with similar functionality.

GridGroupingControl

this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;

GridDataBoundGrid

this.gridDataBoundGrid1.Binder.EnableAddNew = false;


Regards,
Rajadurai

Loader.
Up arrow icon