jsTree and $currentnodeident

Mayada Al-Kishtini malkishtini at gmail.com
Mon Apr 23 08:03:34 EDT 2018


I missed one thing: in the On evClick, I use default param pNodeTag to get the value I need from the list.

HTH,
Mayada

-----Original Message-----
From: Mayada Al-Kishtini [mailto:malkishtini at gmail.com] 
Sent: Monday, April 23, 2018 7:59 AM
To: 'OmnisDev List - English'
Subject: RE: jsTree and $currentnodeident

Hi Michael,

I use JsTree in JS client, but I use it with datamode kJSTreeFlatWithTags.

I define this was:
Do iTreeList.$define(iParent,iChild,iChild2,iChild3,iChild4,iChild5,iChild6,iChild7,iConId,iIdent,iExpanded,iTextColor,iToolTip,iTag,iEnterable)

And I use iTag to pass the data I need from the current node.

HTH,
Mayada
-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Michael Houlberg
Sent: Friday, April 20, 2018 9:08 PM
To: OmnisDev List - English
Subject: jsTree and $currentnodeident

$listers

Are you using the jsTree in the JavaScript client?  I’m using the option for Dynamic Loading tree lists, kJSTreeDynamicLoad.  I have no problem building the tree information, that part is working.

I’m supposed to be able to find what node the user has selected with something like this:

Calculate ivCurrentNode as $cinst.$objs.Tree.$currentnodeident

I’ve tried this in a server-side method, client-side method or in the evClick and get a "notation not supported" either way.

Anyone else solved this?

Thanks,
Michael Houlberg
Houlberg Development, LLC

_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list