Stacks Image 1745
Latest TreeView Bean release available 2.1.75 04/02/2012

Ajax Loader Gif

  The Tree View Bean is a Servoy bean that allows you to create hierarchical Tree Views of your data.

Existing (parent, child and foreign) records are easily added, via drag and drop or a popup menu, to the Tree View Bean.
  • New records can be created from within the Bean;
  • Existing records in the tree can be edited using the internal editor;
  • Nodes and sub-trees can be moved from one parent node to another;
  • Control access to the various add/edit/delete/move functions from your Servoy method;
  • Grant access to the User to control the editor parameters;
  • Metadata for the tree view is managed for you via the Bean;
  • Add formatting information without changing your original data;


A screenshot of the Tree View Bean for administrators to manage an 'Employee' structure.



A screenshot of the Tree View Bean for users to navigate within an 'Employee' structure.
  • Using the Hierarchical Tree View Bean means that deep hierarchical relationships between table rows can be supported without you needing to change your existing data model.
  • Importantly, the tree is maintained totally by the User with 'natural' drag and drop functionality.

Whenever you want an alternative Tree View your choice should be the Tree View Bean.
Smart client Web client Headless client
4+ 1.5 +    
5+ 1.5 +    
6+ 1.5 +    

These video's will give you an introduction and simple instructions of how you can start using the Component.

Please do not forget to import the sample solution. You can find the sample solution in servoy_root/solutions/it2be-examples.

Single Developer license
One developer & unlimited deployment (56.00 EURO maintenance fee p/y)
220.00 EURO
Site license
Team of developers & unlimited deployment (120.00 EURO maintenance fee p/y)
465.00 EURO
UPGRADE Single Developer license to Site license
You already have a Single Developer license (120.00 EURO maintenance fee p/y)
300.00 EURO
UPGRADE Single Developer license to Servoy 4+
You already have a Single Developer license (56.00 EURO maintenance fee p/y)
77.00 EURO
UPGRADE Site license to Servoy 4+
You already have a Site license (120.00 EURO maintenance fee p/y)
162.75 EURO
Full Source license
When you want access to the source let's discuss your options.
2.1-075 04/02/2012
[chg] signed using new certificate (expires May 13th 2015)

2.1-074 03/26/2012
[fix] restored compatibility with Servoy 4
[chg] made several changes for improved compatibiliby with Servoy 6
[chg] prefixed all Plug-in objects with IT for JS Documentation in Servoy 6

2.1-073 08/09/2011
[chg] changed libraries to support (backward) compatibility between (beta) releases

2.1-071 05/05/2010
[chg] made several changes to fix security issue with latest Java release

2.1-068 01/29/2010
[chg] improved Framework to work with external (gui and command-line) installer

2.1-066 08/17/2009
[chg] changed Framework

2.1-065 07/28/2009
[chg] redesigned for Servoy 4.0
[fix] improved debugger support for callback methods

2.0-064 04/02/2008
[chg] made some important improvements to the core to prepare for Servoy 4.0
[fix] corrected plug-in loading error

2.0-063 02/25/2008
[new] added method 'getVersionLicensed' to find out what version is licensed
[chg] reduced client download size for resources with overall savings up to 45%
[chg] managed to make some little engine improvements (not perfect yet)

2.0-062 01/16/2008
[new] added onRecordSelectedMethod to recognize single/double clicks in tree view
[new] started creating documentation
[new] added method 'getVersionLicensed' to find out what version is licensed
[chg] completed tooltips
[chg] added sample data
[chg] completed sample solution
[chg] reduced client download size for resources with overall savings up to 45%

2.0-061 01/16/2008
[fix] a 'foreign' record is now correctly added to the tree
[fix] a 'foreign' record can now correctly be removed from the tree
[fix] the popup menu delete and move command now works correct with child records as well
[fix] arguments order for popup menu now corresponds to other method arguments
[chg] ' ' (spaces) in action commands for drag enter, drag over, drag and drop are replaced by '_'

2.0-060 01/14/2008
[new] added parentPanel with additional methods
[new] added showChildrenPanel(...) to show/hide Children (left hand side) Panel
[new] added showTreePanel(...) to show/hide Tree (right hand side) Panel
[new] added createTreeView(..) to create content/bean
[new] added formatting to RecordColumn
[new] added custom icon per RecordSet
[new] added custom tooltip per RecordSet
[chg] removed appr. 200k source code
[chg] removed buttonPanel
[chg] deprecated getIntegerColumnType(...) is now integerType property
[chg] deprecated getStringColumnType(...) is now stringType property
[chg] deprecated getDateTimeColumnType(...) is now dateTimeType property
[chg] deprecated getCreateTreeTableStatement(...)
[chg] deprecated getInsertRootTreeRecordStatement(...)
[chg] dropped onRecordEnter(...)
[chg] creation of dataTable is now based on foundset instead of tableName
[chg] deprecated onRecordEnter(...)
[chg] improved content feedback in debugger

1.4-004 11/29/2007
[new] added property and method to set the innerborders for left and right panel
[new] added popup menu to tree
[new] added methods to set button panel buttons and popup menu text
[new] added i18n support for button panel buttons and popup menu
[chg] added 3 pixel margin around component
[chg] deprecated setControlsVisible in favour of showButtonPanel
[chg] removed a border on the left that was shown in the list
[fix] corrected issue that a cancellation of a new item still created a new item
[fix] solved repaint issue when a tree item drag was cancelled

1.3-003 11/02/2007
[new] added getVersion() and getLicense() methods to retrieve component information

[chg] created new sample solution
[chg] renamed Bean 'ServoyTreeViewBean' to 'IT2BeTreeView'
[chg] renamed plug-in 'TreeViewBeanPlugin' to 'it2be_treeview'
[chg] the Bean now acts as a 'Servoy' Bean
[chg] tree node icons urls can now be Strings instead of java.net.URL(...)
[chg] DataTableColumns setCellFormat(...) now also accepts String instead of java.awt.Color
[chg] color is now optional for DataTableColumns setCellFormat(...)
[chg] removed inner-border in border in border

R1.2.12
[new] initial release

R1.2.11
[new] beta testing