Grid checkbox problem

1 Answer 14 Views
Checkbox Grid
n/a
Top achievements
Rank 1
Iron
n/a asked on 31 Dec 2024, 02:09 AM | edited on 31 Dec 2024, 02:13 AM

 

Hello,

I have a question. After updating Kendo UI from version 2017.2.621 to 2017.3.1018, a problem occurred. The checkbox functionality in the grid, which previously had no issues, is no longer working. When I click the checkbox, nothing happens.

If you know how to solve this issue, please help me.

{    title: "사용여부",
     width: "70px",
     template: '<input type="checkbox" class="chk k-checkbox" name="useYn" #= useYn =="Y" ? "checked=checked" : "" # />'+
               '<label class="k-checkbox-label"></label>',
     attributes: { style: "text-align: center" }
}

1 Answer, 1 is accepted

Sort by
0
n/a
Top achievements
Rank 1
Iron
answered on 31 Dec 2024, 07:02 AM

I solved it by assigning an id value.

{    title: "사용여부",
                width: "70px",
                template: '<input type="checkbox" class="chk k-checkbox" name="useYn" id="useYn_#=code#" #= useYn =="Y" ? "checked=checked" : "" # />'+
                        '<label class="k-checkbox-label" for="useYn_#=code#"></label>',
                attributes: { style: "text-align: center" }
            },
Nikolay
Telerik team
commented on 02 Jan 2025, 10:00 AM

Hi JongSeok,

Thank you for the update. I believe this will be beneficial to others facing the same problem.

Additionally, as both versions are from 2017 and are quite old, I recommend upgrading to a later version, ideally the latest one. This brings not only many new functionalities and features but also bug fixes.

Regards,

Nikolay

Tags
Checkbox Grid
Asked by
n/a
Top achievements
Rank 1
Iron
Answers by
n/a
Top achievements
Rank 1
Iron
Share this question
or