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

Add new record in editable grid

Thread ID:





123419 Mar 16,2016 10:34 AM UTC Mar 21,2016 05:02 AM UTC JavaScript 3
Tags: ejGrid
Stefano Enrico
Asked On March 16, 2016 10:34 AM UTC


i have, in an editable grid, a column with allowEditing = false. When i click to add a new record, this column-field is editable. Is it right? Can i disabled this field?

Venkatesh Ayothi Raman [Syncfusion]
Replied On March 17, 2016 10:27 AM UTC

Hi Stefano,

Thanks for contacting Syncfusion support.

The issue occurs in two scenarios:
1)      when we disable the allowEditing as well as set a primary key as true for same column.
Eg. { field: "OrderID", isPrimaryKey: true, allowEditing:false, headerText: "Order ID", textAlign: ej.TextAlign.Right, validationRules: { required: true, number: true }, width: 90 },
2)      If we use any prior version of

To disable the field for primary key column when we add a new record, then we suggest you to use useisIdentity property, which disable the field while we add a new record. But in your database identity column is must otherwise we can’t perform the editing operation for newly added record and its throws a script error.
If we misunderstood your query, please share the following details,
1)      Essential studio version details.
2)      Scenario to reproduce the issue.
3)      If any script error thrown in console window then provide a screenshot of that.
4)      A sample if possible or share the code example.

Venkatesh Ayothiraman.

Stefano Enrico
Replied On March 18, 2016 10:46 AM UTC

ok, thanks


Venkatesh Ayothi Raman [Syncfusion]
Replied On March 21, 2016 05:02 AM UTC

Hi Stefano,

Thanks for the update.

We are happy to hear that your requirement is achieved. Please let us know if you have any further assistance.

Venkatesh Ayothiraman.


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