Disable all interactions

4 posts, 0 answers
  1. Matjaž
    Matjaž avatar
    81 posts
    Member since:
    Jul 2015

    Posted 26 Jul Link to this post

    How can I disable grid (like editors enabled property). I want to prevent everything (scrolling, sorting, paging, grouping, selection ...)?
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 28 Jul Link to this post

    Hello Matjaž,

    By default these options should be disabled. Given this if you simply initialize the Kendo UI Grid it should be fine. Please refer http://dojo.telerik.com/efUNu example. 

    Regards,
    Boyan Dimitrov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Matjaž
    Matjaž avatar
    81 posts
    Member since:
    Jul 2015

    Posted 29 Jul Link to this post

    I didn't mean always but on some event, I want to disable all operations. For example when requesting new data from server or any other custom event. Then I want to re-enabled it again.

    Just like enabled on dropdownlist, autocomplete ...

  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 02 Aug Link to this post

    Hello Matjaž,

     

    In order to enable/disable such functionalities the setOptions method should be used. Such modifications require the widget to be destroyed and re-initialized with the new options (sorting enabled/disabled) which the setOptions method does internally. 

     

    Regards,
    Boyan Dimitrov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready