I needed this and didn't find an existing solution: a CLV whose items
- can be expanded/collapsed (available in @Erel's CLVExpandable)
- and can have sub-items that can be shown or hidden
In the screenshot below, you'll see the arrows that can be used to expand/collapse, and the +/- signs to...
I had a list of categories from Amazon which were stored in a csv like this (semicolon separated 25234 entries):
Main Category;Subcat 1;Subcat 2;Subcat 3;Subcat 4;Subcat 5;Subcat 6;Subcat 7;Subcat 8
Appliances
Appliances;Dishwashers
Appliances;Dishwashers;Built-In Dishwashers...
UPDATE!
LibVersion: Alpha2.2 > Alpha2.4 - 2020/11/03 - Status: Field Test in progress.
Implemented automatic measurement of the height of the title label
now depends on titles textsize
Implemented ScrollView to scroll big menus
Implemented DIP consideration for image scale in pixels
to scale...
SD_TreeList
Author: Star-Dust
Version: 0.27
B4XTree
Events:
Click (IDLeaf As String, LeafName As String)
ClickBranch (ID As String, Expanded As Boolean)
LongRightClick (IDLeaf As String, LeafName As String)
LongRightClickBranch (ID As String, BranchName As String)
Fields...
Download a Library from Here
SD_TreeList
Author: Star-Dust
Version: 0.27
B4XTree
Events:
Click (IDLeaf As String, LeafName As String)
ClickBranch (ID As String, Expanded As Boolean)
LongRightClick (IDLeaf As String, LeafName As String)
LongRightClickBranch (ID As String, BranchName As...
Hi there
Can anyone please help with a snippet to unflatten data into a json stree?
For example, this is my list of records...
Dim arr As List
arr.Initialize
arr.Add(CreateMap("id":1 ,"parentid" : 0))
arr.Add(CreateMap("id":4 ,"parentid" : 2))
arr.Add(CreateMap("id":3 ,"parentid" : 1))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.