EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 08, 2024, 02:24:24 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
checkOnSelect-like function for Tree
Pages: [
1
]
« previous
next »
Print
Author
Topic: checkOnSelect-like function for Tree (Read 6403 times)
mzeddd
Full Member
Posts: 223
checkOnSelect-like function for Tree
«
on:
February 25, 2014, 08:35:43 AM »
Is it possible to have checkOnSelect option for Tree (like it is done for Datagrid) ?
General idea is to allow user to select items in Tree with checkboxes by clicking on labels. (not only checkboxes)
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: checkOnSelect-like function for Tree
«
Reply #1 on:
February 26, 2014, 06:41:11 AM »
No 'checkOnSelect' property exists in tree. If you wish to check a node when selecting it, try this:
Code:
$('#tt').tree({
onSelect: function(node){
$(this).tree('check', node.target);
}
})
Logged
mzeddd
Full Member
Posts: 223
Re: checkOnSelect-like function for Tree
«
Reply #2 on:
February 26, 2014, 07:56:54 AM »
Thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...