EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 17, 2024, 11:21:24 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
>
Numbering the id of a treeview
Pages: [
1
]
« previous
next »
Print
Author
Topic: Numbering the id of a treeview (Read 5757 times)
forum6691
Newbie
Posts: 39
Numbering the id of a treeview
«
on:
March 23, 2014, 09:28:18 AM »
I have a problem to understand the numbering of the id folder in a treeview.
I explain: My treeview must be display data from a database. I can gave an unlimited first level folders and unlimited sublevels folders and again for subsublevel folders,...
If I use 1,2,3,4,... to number the folders, can I use 1,2,3,4,.. to number the sublevel folders and again for subsublevel ? Or the number for id must be all different ?
Thanks.
Cyril
Logged
forum6691
Newbie
Posts: 39
Re: Numbering the id of a treeview
«
Reply #1 on:
April 27, 2014, 12:49:53 PM »
Is someone has an idea for my problem for numbering the treeview elements ?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Numbering the id of a treeview
«
Reply #2 on:
April 27, 2014, 05:09:16 PM »
There are no constraints at the 'id' value of tree nodes. But if you use duplicate 'id' node you can't call 'find' method to get the correct node.
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...