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

Checkbox template does not work after Kendo update

3 Answers 684 Views
Templates
This is a migrated thread and some comments may be shown as answers.
Patrik
Top achievements
Rank 1
Patrik asked on 30 Aug 2017, 12:38 PM

Hello,

after upgrading to the most recent Kendo UI version 2017.2.621,  with defined template no longer respond to click - they do not show check mark they fire any events.

You can replicate mentioned behavior in here https://dojo.telerik.com/Uguniw/2 (this is the example code from this page http://docs.telerik.com/kendo-ui/controls/navigation/treeview/how-to/AngularJS/customize-treeview-checkbox-template)

To fix the issue temporarily and verify that it is indeed caused by the upgrading of Kendo, you can lower the included version in the upper left corner to '2017 R1 SP1' and see that the checkboxes will start working again.

 

Could you help me with this issue?

Best regards,
Patrik

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 31 Aug 2017, 03:09 PM
Hello Patrik,

This is a known issue, which is already fixed. The fix should be available in the next release (due mid September). Until the release, as a temporary workaround, you can modify the template as shown in this modified dojo example.

Regards,
Ivan Danchev
Progress Telerik
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.
0
Patrik
Top achievements
Rank 1
answered on 01 Sep 2017, 08:43 AM

Hello Ivan,

Thank you for the reply. I could not find the issue before, but it is good to know that the fix is coming soon.
In the meantime, I fixed it by applying following CSS:

.k-checkbox-wrapper input {
    position:absolute;
    width: 14px;
    height: 14px;
    z-index: 20;
    cursor: pointer;
}
0
Ivan Danchev
Telerik team
answered on 05 Sep 2017, 07:12 AM
Hello Patrik,

Thank you for sharing your workaround.

Regards,
Ivan Danchev
Progress Telerik
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.
Tags
Templates
Asked by
Patrik
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Patrik
Top achievements
Rank 1
Share this question
or