How to set the Grid Model property Kendo grid Editable using Jquery

2 posts, 0 answers
  1. Senthilkumar
    Senthilkumar avatar
    12 posts
    Member since:
    May 2015

    Posted 27 Jun 2015 Link to this post

    Hi team,

     How to change kendo grid property  using jquery. i want change property of kendo Grid. 

    if (Some condition)


            var grid = $("#GridGlobalNewRequest").data("kendoGrid");
            grid.dataSource.options.schema.model.fields.StartCompany.editable = true;
            grid.dataSource.options.schema.model.fields.IsRead.editable = true;




             var grid = $("#GridGlobalNewRequest").data("kendoGrid");

            grid.dataSource.options.schema.model.fields.StartCompany.editable = false;

            grid.dataSource.options.schema.model.fields.StartCompany.defaultValue = "9990"; // Default Value




    Senthilkumar N

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 01 Jul 2015 Link to this post

    Hello Senthilkumar,


    I would suggest using the setOptions method of the Kendo Grid. It allows enabling/disabling a particular feature/option for the Grid. 


    Boyan Dimitrov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top