user interface - Collapse all trees in jquery checkboxtree -


i use jquery checkboxtree , start tree in collapsed mode.

i use this:

$(document).ready(function(){     $('#ch_group_menu').checkboxtree(); }); 

i tree , childs collapsed @ start. how can do?

you can use

$('#ch_group_menu').checkboxtree('collapse','.expanded');

after form generated , checkboxtree applied.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -