OS8 - JS Tree lists

Graham Stevens graham.stevens at gmail.com
Thu Jul 13 05:36:56 EDT 2017


Thanks, Mayada, for the code snippet.

I was hoping to display the text in separate columns but suspected that 
I would have to do it your way.

Thanks again,
Graham

On 13/07/2017 03:21, Mayada Al-Kishtini wrote:
> 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 at 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 http://lists.omnis-dev.com
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com





More information about the omnisdev-en mailing list