|
Title: TreeGrid checkbox cell Post by: Sano on April 04, 2017, 11:13:53 PM Hello
I'm trying to show data in TreeGrid and one field must look like a checkbox. I found two similar solution for DataGrid and try to apply it for my situation: #1: This solution doesn't work, cell value displayed as string (true, false) Code: let data = $.ajax({#2: This works, i send checked data to server-side JSON.stringify(rows), but value parameter always in false. Code:
And second question. How to check|uncheck needed cells in JS programmatically. Thank you, i hope there is a simple soluthion for this :) Title: Re: TreeGrid checkbox cell Post by: jarry on April 07, 2017, 06:32:22 PM The 'checkbox' is the built-in property in treegrid component. Please look at this example https://www.jeasyui.com/demo/main/index.php?plugin=TreeGrid&theme=default&dir=ltr&pitem=Cascade%20CheckBox
|