This is a migrated thread and some comments may be shown as answers.

Kendo grid column editable false is not working

2 Answers 3251 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lei
Top achievements
Rank 1
Lei asked on 28 May 2020, 02:31 AM

Hello,

I want to disable editable of some columns. I set the editable false in datasource, but it does not work. I created a demo of this issue: http://dojo.telerik.com/aqAQIYUf/2 . I set the editable false for FieldName and DataType. But they can be edited in both inline and popup mode. 

Did I do something wrong?

Thanks

 

Lei

2 Answers, 1 is accepted

Sort by
0
Anton Mironov
Telerik team
answered on 29 May 2020, 02:58 PM

Hello, Lei,


In order to control the editable options, use the fields schema model of the grid's data source. I have modified the Dojo sample accordingly:

http://dojo.telerik.com/UlumABUs

Find more information about the schema model in the following article: 

https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/schema#schemamodel

 

Let me know if you have any other questions.

 

 

Regards,
Anton Mironov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Lei
Top achievements
Rank 1
answered on 30 May 2020, 01:25 AM

Hello Anton,

Thanks for your reply. 

Regards

Lei

Tags
Grid
Asked by
Lei
Top achievements
Rank 1
Answers by
Anton Mironov
Telerik team
Lei
Top achievements
Rank 1
Share this question
or