UITree 2

General questions regarding the development with JVx.

UITree 2

Postby wir33658 » Thu Mar 31, 2011 7:06 pm

Hi, there is already a thread about the UITree.

Anyhow, I did not quiet understand how to setup a UITree properly (using a MemDataBook). Does anybody mind putting some complete example in here ?

Thanks, Rob.
Posts: 1
Joined: Thu Mar 31, 2011 6:58 pm

Re: UITree 2

Postby Support@SIB » Thu Mar 31, 2011 7:40 pm

A complete example is available in our showcase app at http://demo.sibvisions.org/showcase/.

Open the Tables screen and go to "Source" tab. The tree uses a databook which is self-joined.

A very short Tree example:

Code: Select all
UITree tree = new UITree();
tree.setDataBooks(rdbMaster, rdbSub);

You need two data books and create a master reference between them. There is no difference between Master/Detail remote databooks which are used in an UITable or an UITree...
User avatar
Posts: 198
Joined: Mon Sep 28, 2009 1:56 pm

Return to Development