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.
Unfortunately, activation email could not send to your email. Please try again.

How to allow user to add rows to gridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

89498 Aug 26,2009 05:25 AM Aug 27,2009 12:04 AM Windows Forms 1
loading
Tags: Tools
Allon
Asked On August 26, 2009 05:25 AM

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

Rajadurai C [Syncfusion]
Replied On August 27, 2009 12:04 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;