Possible bug? IE 11 Javascript readonly attr doesn't work with IE

2 posts, 0 answers
  1. Duke
    Duke avatar
    21 posts
    Member since:
    Dec 2016

    Posted 30 Mar 2017 Link to this post

    I have a grid in which I conditionally allow editing of a column.  I do this by conditionally applying the readonly attribute, like so:

    $("#my_column_name").attr("readonly", true);


    Chrome 57.0.2987.98 respects this, and I can't click into the cell to edit it.

    IE 11.0.9600.x, however, allows me to click into the cell and prepend values to the cell's existing value.



  2. Stefan
    Stefan avatar
    3012 posts

    Posted 03 Apr 2017 Link to this post

    Hello Duke,

    Based on the provided information this seems to be related to how the mentioned version of Internet explorer is handling the read-only attributes. As this is Internet Explorer specific the Kendo UI team has no full control over it.

    Also, if a column has to be editable based on a condition, I can suggest using the built-in property of the Grid:


    I hope this will help to achieve the desired result.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top