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

Making columns non-editable in grid

1 Answer 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pranouthi
Top achievements
Rank 1
Pranouthi asked on 11 Jun 2015, 08:18 PM

How can i make certain columns non-editable in data grid. I'm using Kendo UI for JSP. I tried editable="false" but gives error not an acceptable attribute.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 16 Jun 2015, 05:19 AM
Hello Pranouthi,

The Editable option is part of the DataSource schema.model fields configuration. For example: 
<kendo:dataSource-schema>
              <kendo:dataSource-schema-model id="productId">
                  <kendo:dataSource-schema-model-fields>
                      <kendo:dataSource-schema-model-field name="productId" type="number" editable="false" />


Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Pranouthi
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or