EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 16, 2025, 03:35:38 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
>
How to get all TreeGrid nodes in non-hierarchy array?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to get all TreeGrid nodes in non-hierarchy array? (Read 6573 times)
aswzen
Sr. Member
Posts: 287
Indonesian
How to get all TreeGrid nodes in non-hierarchy array?
«
on:
July 30, 2015, 11:51:07 PM »
How to get all TreeGrid nodes in non-hierarchy array?
I see the getData() method only return all parent node including their child but in hierarchy style (children parent)
thanks in advance
«
Last Edit: July 30, 2015, 11:58:46 PM by aswzen
»
Logged
Regards,
Sigit
- Indonesian jEasyUI Facebook page :
https://www.facebook.com/groups/jeasyuiid/
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to get all TreeGrid nodes in non-hierarchy array?
«
Reply #1 on:
July 31, 2015, 01:32:12 AM »
Please call the 'getChildren' method instead.
Code:
var rows = $('#tg').treegrid('getChildren');
console.log(rows);
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...