OS8 – JS Tree lists
Hi Graham,
I have one JS for that uses a tress list – datamode= JSTreeFlatListWithTags.
I define it this way:
Do
iTreeList.$define(iParent,iChild,iChild2,iChild3,iChild4,iChild5,iChild6,iCh
ild7,iConId,iIdent,iExpanded,iTextColor,iToolTip,iTag,iEnterable)
To display multiple columns in one node, you can do below:
Do iParent.$assign(con(parentRow.ID,’-‘,parentRow.Name))
Do
iTreeList.$add(iParent,”,”,”,”,”,”,”,iConId,iIdent,iExpanded,iTextCol
or,iToolTip,iTag,iEnterable)
Then you can do the same for the child node:
Do iChild.$assign(con(childRow.c[counter].ID,’-‘,childRow.c[counter].Name))
Do
iTreeList.$add(iParent,iChild,”,”,”,”,”,”,iConId,iIdent,iExpanded,iTex
tColor,iToolTip,iTag,iEnterable)
And so on..
HTH,
Mayada
—–Original Message—–
From: omnisdev-en [mailto:omnisdev-en-bounces@lists.omnis-dev.com] On Behalf
Of Graham Stevens
Sent: Tuesday, July 11, 2017 9:22 AM
To: OmnisDev List – English
Subject: OS8 – JS Tree lists
Hi All,
Has anyone here had much experience of using the JS forms tree list
component? Specifically, I am looking for a way to display multiple columns
of data for each line, expanded or not, similar to the way it can be done in
the window tree list component.
Thanks and regards,
Graham
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com