This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

TreeTable

Frequently asked questions about VisionX.

TreeTable

Postby lucdep » Tue Nov 20, 2018 12:27 pm

Hi,

Could VisionX also show TreeTables instead of only Trees?
How could I link such a Tree component to an ltree field in PostgreSQL?

Luc
lucdep
 
Posts: 52
Joined: Wed Oct 10, 2018 12:01 pm

Re: TreeTable

Postby Support@SIB » Tue Nov 20, 2018 1:13 pm

TreeTable isn't a supported component of JVx, the framework behind VisionX. Sure, you can use a Swing TreeTable implementation or any other Swing components available in the net. The same for vaadin components/AddOns.

In this case, you have to use custom components as described here: User defined Components or Wrapping custom components.

But if you use custom components, you have to write Java Code. VisionX supports custom components but you can't change any properties.

It depends what you plan, but if you want custom components for different technologies, you should create your own factory and define the component as interfaces. Best, start reading our JVx reference series.

Short story: VisionX doesn't have a TreeTable integration.

How to bind ltree?

If the used TreeTable supports this datatype, it will be an easy task, but this datatype is a Postgres only datatype/module and not database independent. It's always possible to fill a tree manually, but what should happen if you change a value...

With VisionX and JVx, we keep away all this sync problems from the developer.
User avatar
Support@SIB
 
Posts: 320
Joined: Mon Sep 28, 2009 1:56 pm


Return to VisionX