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

Disable all interactions

3 Answers 232 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Seyfor
Top achievements
Rank 1
Seyfor asked on 26 Jul 2016, 02:28 PM
How can I disable grid (like editors enabled property). I want to prevent everything (scrolling, sorting, paging, grouping, selection ...)?

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 28 Jul 2016, 09:17 AM

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.
 
0
Seyfor
Top achievements
Rank 1
answered on 29 Jul 2016, 10:05 AM

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 ...

0
Boyan Dimitrov
Telerik team
answered on 02 Aug 2016, 08:45 AM

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.
 
Tags
Grid
Asked by
Seyfor
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Seyfor
Top achievements
Rank 1
Share this question
or