EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 02:51:59 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
>
treegrid getData doesn't show children
Pages: [
1
]
« previous
next »
Print
Author
Topic: treegrid getData doesn't show children (Read 4631 times)
sky-t
Full Member
Posts: 145
treegrid getData doesn't show children
«
on:
September 28, 2016, 11:57:58 PM »
Dear sirs,
when i'm using
var test=$('#test).treegrid('getData');
all Root-Nodes where collected but not the children nodes.
I want to have all Nodes in one variable - how can i do that?
Thanks
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: treegrid getData doesn't show children
«
Reply #1 on:
September 29, 2016, 02:27:38 AM »
Please try to call 'getChildren' method instead.
Code:
var rows = $('#test').treegrid('getChildren');
console.log(rows);
Logged
sky-t
Full Member
Posts: 145
Re: treegrid getData doesn't show children
«
Reply #2 on:
September 29, 2016, 02:33:48 AM »
when calling getChildren it works
Thank you!!!
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...