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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Allow Grid Row Add and Delete

Thread ID:





78341 Dec 9,2008 08:27 PM UTC Dec 9,2008 08:44 PM UTC WPF 1
Tags: GridControl
Administrator [Syncfusion]
Asked On December 9, 2008 08:27 PM UTC

Maybe i am just missing it, but how do you set the grid to allow new rows to be added and current rows to be deleted, by the user?

Administrator [Syncfusion]
Replied On December 9, 2008 08:44 PM UTC

There are methods/properties that allow you to insert, delete or add rows to a GridControl.

grid.Model.insertRows(startRow, count);

grid.model.RemoveRows(startRow, count);

//add a row
grid.Model.ColumnCount += 1;

There is no UI exposed to add a new row or to delete a row. In the upcoming Vol 1, 2009 release, we will support databinding, and that will include supporting a AddNew record and being able to delete records.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon