How to allow user to add rows in gridControl1?

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

2 Replies

AL Allon August 26, 2009 09:47 AM UTC

Sorry. I put this message in the wrong forum.

Regards,
Allon


JJ Jisha Joy Syncfusion Team August 28, 2009 09:44 AM UTC

Hi Allon,

You could add rows to the GridControl by using the InsertRange method. See the code:

// It will insert 3 rows staring from the row index 4
this.gridControl1.Rows.InsertRange(4, 3);

Please let me know if you have any questions.

Regards,
Jisha

Loader.
Up arrow icon