Loop through Checkboxes in Kendo ui-Menu on Toolbar in Kendo Grid

ساخت وبلاگ

Vote count: 0

I am trying to implement a Kendo ui-Menu in the toolbar of a Kendo Grid in Angular. I am manually creating the column list on the menu. I am able to show/hide the columns when clicking the checkboxes. I need to iterate through the checkboxes when the menu opens so that I can set checked/unchecked based on the options set on each column in the grid. The problem is that I don't know how to access the check/unchecked of the child nodes.

The code below gets all of the child nodes, but I don't know how to access their checked/unchecked values:

var columns = $(e.item).find(".k-item:not(:has(.k-group))");

I have a Dojo setup where the check/uncheck works, but I don't know how to access them from 'onOpen'. Any assistance is grealy appreciated.

asked 1 min ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 266 تاريخ : شنبه 23 ارديبهشت 1396 ساعت: 6:04

خبرنامه