EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 01:32:59 AM
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
>
treegrid: rows expand when applying manual data
Pages: [
1
]
« previous
next »
Print
Author
Topic: treegrid: rows expand when applying manual data (Read 6275 times)
itay-g
Newbie
Posts: 35
treegrid: rows expand when applying manual data
«
on:
April 28, 2014, 05:32:47 AM »
Hi,
I'm trying to apply client-side data to treegrid, and I noticed that all the data is expanded.
Is there a way to set the treegrid to open collapsed at the first time?
Thanks
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: treegrid: rows expand when applying manual data
«
Reply #1 on:
April 28, 2014, 12:20:12 PM »
Set 'state' property to 'closed' for a node, it will become collapsed when loaded. Please refer to this example
http://www.jeasyui.com/demo/main/index.php?plugin=TreeGrid&theme=default&dir=ltr&pitem=
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...