The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
VAVenkatesh Ayothi Raman Syncfusion Team 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 13.3.0.7
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.
Regards, Venkatesh Ayothiraman.
SEStefano EnricoMarch 18, 2016 10:46 AM UTC
ok, thanks
Regards
Stefano
VAVenkatesh Ayothi Raman Syncfusion Team 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.