I'm trying to create a tree type structure within a datagrid similar to image 5 in http://lessons.livecode.com/m/datagrid/ ... e-examples, but am at a loss where to start.
The example suggests that you can split a datagrid into sections which can be expanded/collapsed by ticking a box, but I can't find any example code or lesson explaining the concept.
Could someone please help?
Tree type structure in a datagrid
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 20
- Joined: Mon Apr 18, 2016 10:31 am
-
- Posts: 20
- Joined: Mon Apr 18, 2016 10:31 am
Re: Tree type structure in a datagrid
Looks like I'll be able to do what I want by modifying the 'LayoutControl' of the behaviour script and adding some 'dummy' records into the data when changing section.
-
- VIP Livecode Opensource Backer
- Posts: 9662
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Tree type structure in a datagrid
Hi.
I see, and hope, you have found your own solution.
I know your question languished for a while. I only post to tell you that most helpers here (except perhaps Klaus) shy away from rushing in to answer DG questions. Anyway, i do. DG's are complicated, and when I see a query about them, I tend to immediately look for easier fare.
Craig newman
I see, and hope, you have found your own solution.
I know your question languished for a while. I only post to tell you that most helpers here (except perhaps Klaus) shy away from rushing in to answer DG questions. Anyway, i do. DG's are complicated, and when I see a query about them, I tend to immediately look for easier fare.
Craig newman