dbtree feature request

I would like to see the following dbtree-bean feature.

1.) open level of nodes by a method (for example default open first level!)
2.) do a refresh (necessary when you add a node) and that the current view of levels remains! (now all nodes closes!)

Anyone else?

Do we have an examples / documentation for how to use this dbtree bean. I want play with it.

yes, 2.1.1 ships with a sample solution, called bookStudy.servoy in the \solutions\examples directory.

You’ll have to import it first, offcourse.

Paul

Ok I will go ahead to check

Thanks

Also, (atleast on windows) I rather don’t see a ‘+’ sign if there are no nodes underneath.
Is that possible?

Great feature!!!

To add another feature on this list.

custom sortation (now on PK)

In large foundsets this is a must.

Keep up the good work

Could something like expandAll() be added so we can at least show all nodes expanded? If you have smaller lists of structured data, it is nice to see everything at once…

The plugin comes with the source I believe so anyone can add those features when they want.
No need to wait for the Servoy dev team to have a spare moment to add these features.
I rather see them working on core features inside Servoy :)

Where can I get the source? My dbtreeview is a bean not a plugin and the jar only contains class files.

Those classes are readable.
Just drop them into your java development environment.

I just dropped the DBTreeView$FoundSetTreeModel.class class in Xcode and it showed me the following code:

package com.servoy.r2.beans.dbtreeview;

class DBTreeView$FoundSetTreeModel extends javax/swing/tree/DefaultTreeModel
{
    /* Fields */
    private com/servoy/j2db/dataprocessing/IFoundSet foundset;
    final com/servoy/r2/beans/dbtreeview/DBTreeView this$0;

    /* Constructors */
    FoundSetTreeModel(com/servoy/r2/beans/dbtreeview/DBTreeView, com/servoy/j2db/dataprocessing/IFoundSet) {
    }


    /* Methods */
    public com/servoy/j2db/dataprocessing/IFoundSet getFoundSet() {
    }

}

So very readable code ;)

In Eclipse you just get to see the methods of the class and it tells me, that no source code is attached…

Indeed, no source attached. So there is no way we can edit this ourselves…

Ah, then my assumption was wrong.
Servoy dev team? Any chance for getting the source?
Or was this one purposely closed sourced.

We could also go back and focus on the actual feature request posted and let the pros do it :wink:

patrick:
We could also go back and focus on the actual feature request posted and let the pros do it :wink:

Whoops, I should have posted this here. http://forum.servoy.com/viewtopic.php?t … 4f698c59bc