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

how to make some columns not editable when adding a new row in treegrid

Thread ID:





120984 Oct 30,2015 07:04 PM UTC Nov 2,2015 12:33 PM UTC ASP.NET MVC 1
Tags: TreeGrid
Harry Zheng
Asked On October 30, 2015 07:04 PM UTC

I have a question about treegrid when adding a new row.
When user add a new row, I do not want them fill out all the columns. So user can only fill out some columns but not other columns. 
How can I achieve this?


Jayakumar Duraisamy [Syncfusion]
Replied On November 2, 2015 12:33 PM UTC

Hi Harry,

We can disable specific columns from providing value during editing or adding a row by disabling the ‘AllowEditing’ property of the column object . And we have included this property in Essential studio release versoin volume 3 ,2015 . So we suggest you to upgrade to this Essential studio version .

You can download that setup from the below location

Download link: https://www.syncfusion.com/forums/120659/essential-studio-2015-volume-3-final-release-v13-3-0-7-is-available-for-download

Please find the below code example for more details,

.EditSettings(eve => {




.Columns(co => {

        co.Field("StartDate").HeaderText("Start Date").AllowEditing(false).Add();


We have also prepared a sample for disable the specific editable columns. Please find the sample in the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/120984/ze/TreeGridSample_MVC1910690808

Please let us know if you require further assistance on this.

Jayakumar Duraisamy


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

This page will automatically be redirected to the 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