Home

Company
  Technologies
  Team
  Workflow
 
Services
  Virtual Office
  Fixed Bid
  Portfolio
 
Products
  dhtmlxTree
  dhtmlxGrid
  dhtmlxTreeGrid
  dhtmlxTabbar
  dhtmlxCombo
  dhtmlxVault
  dhtmlxToolbar
  dhtmlxMenu
  AWTX TreeTable
  AWTX JTree
 
F.A.Q.
Download
Contact us
dhtmlxTreeGrid - cross-browser DHTML JavaScript treegrid control with Ajax support

dhtmlxTreeGrid is a cross-browser JavaScript UI component designed to represent tabular data in hierarchical view. It is based on our Ajax/DHTML control dhtmlxGrid and combines tree view and editable grid.

Ajax support and rich JavaScript API brings great flexibility to the treegrid allowing you to create completely customizable dynamic tables with expandable rows. Advanced data entry capabilities make the treegrid more interactive and let users to enter and edit table data in intuitive way.

The possibility to dynamically expand/collapse table rows assigned to the corresponding tree items makes this treegrid control a perfect solution for displaying tables with unlimited number of rows. One more feature which enables dhtmlxTreeGrid to handle large amounts of data without performance loss is Smart XML Parsing: grid rows are rendered dynamically on node opening.

Double-click or [F2] on cell to edit. [Tab] to navigate through cells, [Up/Down] - to navigate through rows
Select multiple rows using [Shift/Ctrl]


As an extension of dhtmlxGrid the treegrid deploys all its functionality including client-side data editing and sorting, columns resizing and different cell types. Besides that, the control provides advanced drag-n-drop feature (both drop-between and drop-inside are supported) and the ability to work in a split mode (frozen columns).

Being written entirely in JavaScript dhtmlxTreeGrid runs on client-side and allows manipulating and editing tree/table data on the fly. As communication between server and client is driven via Ajax mechanism, tree grid content is loaded asynchronously through XMLHTTP and can be updated without the whole page refreshing.

dhtmlxTreeGrid can be populated with data via JavaScript or from server data source (via XML). It offers robust and comprehensive solution that can greatly enrich any web application with dynamic content.

dhtmlxTreeGrid v.1.4 is available since July 12, 2007.
(last build from August 13, 2007)

Main new features include:

  • TreeGrid performance increased by 100% on some operations
  • Order of items on each level after drag-n-drop, insert operations preserved
  • Open state of items nested within collapsed items preserved
  • New eXcells added
  • Extended updateFromXML capabilities
  • Fixed known issues and optimized existing functionlity. See complete list here

  • Supported Browsers:

  • IE 5.x and above
  • Mozilla 1.4 and above
  • FireFox 0.9 and above
  • Safari 2.0 and above (1.3 with some limitations)

  • Features*:

  • Full control with JavaScript API
  • Simple JavaScript configuration
  • Integration with HTML Form
  • Async mode loading support (AJAX)
  • Loading/Configuration from XML (file or string)
  • Ability to load big datasets (Smart rendering/paging)
  • Easy styling with CSS or predefined skins
  • Serialization to XML/SCV
  • Working with clipboard
  • Automatized communication with server data source (dhtmlxDataProcessor)
  • Drag-and-drop rows/columns within grid
  • Drag-and-drop in/from dhtmlxTree Pro
  • Selectbox, combobox,checkbox, calendar and more eXcells
  • Math Formulas for cells
  • Ability to create any editor or cell formating
         (using eXcell - eXtended cell object)
  • Invisible data blocks for rows/entire grid (userdata)
  • Resizable/movable columns
  • Client-side sorting (string, integer, date, custom)
  • Wide range of event handlers
  • Detailed documentation
  • TreeGrid specific features**:

  • Smart XML Parsing to increase performance
  • Dynamical loading of levels
  • Drag-n-drop as child/sibling
  • Split mode support
  • Vertical mathemetical summation
  • Tree specific script API
  • Tree specific sorting
  • Tree specific rows coloring

  • * - as dhtmlxTreeGrid is an extended version of dhtmlxGrid,
    it has all features and functionality of its parent.

    ** - demo shown above has only basic functionality of dhtmlxTreeGrid

    Licensing

  • In order to get full version of dhtmlxTreeGrid you need to purchase Commercial License ($249) or Enterprise License , which also includes dhtmlxGrid Professional. Please, contact us to buy.
  • Download:

  • v.1.4 (build 70813) Professional Edition Contact us
  • Documentation:

  • API Functions and Usage Guide
  • Knowledge Base Light/Extended
  • TreeGrid samples*:

  • Initialization
  • Basics
  • Extended Tree with dhtmlxTreeGrid

  • * - more samples come within full version

    Grid samples*:

  • Initialize object
  • Initialize from HTML table
  • Configuration with XML
  • Use API
  • Drag-n-drop
  • Copy data to clipboard in CSV format
  • Smart rendering with dynamic loading
  • Working with big datasets (PHP/MySQL sample with 10,000 records)
  • Add/Delete rows
  • Icons in header
  • Alternative coloring
  • Light mouse navigation mode
  • Auto height mode
  • Multirow Header
  • Complex content in headers
  • Attach events
  • Setting cells and columns properties
  • Reload grid content
  • Multiple grids per page

  • * - More functionality and samples come with dhtmlxTreeGrid Proferssional

    Features details

    Extended cell - eXcell

    To allow greater flexibility, dhtmlxGrid uses unique mechanism called eXcell (extended Cell) to define data format and way of editing data for each column (cell). The grid control provides a wide variety of cell formats including text, image, combo box, list box, checkbox and radio buttons. If a cell contains multi-line text it can be edited with popup text editor or wrapped automatically in a cell.

    Along with standard ways (text, combo box, check box, etc.) of column editing/formatting, there are special types of exCell included into dhtmlxGrid package. For example, above table uses specific eXcell type to represent dynamic data in Sales and Prices columns. For details about usage and creation of new eXcell please reffer to the documentation

    For more dhtmlxGrid features browse here

    Code Sample

    <link rel="STYLESHEET" type="text/css" href="dhtmlXGrid.css"> <script src="dhtmlXCommon.js"></script> <script src="dhtmlXGrid.js"></script> <script src="dhtmlXGridCell.js"></script> <script src="dhtmlXTreeGrid.js"></script> <script> var mygrid = null; function doOnLoad(){ mygrid.selMultiRows = true; mygrid.imgURL = "../dhtmlxGrid/imgs/"; mygrid.setHeader("Book Name,Terms and Conditions,#cspan,#cspan"); mygrid.attachHeader("#rspan,Price,Cover,Ships in"); mygrid.setInitWidths("205,100,100,100") mygrid.setColAlign("left,right,left,left") mygrid.setColTypes("tree,price,ed,co"); mygrid.setColSorting("str,int,str,str"); mygrid.setColumnColor("white,#def7ff,white,#def7ff") var combobox = mygrid.getCombo(3); combobox.put("1","1 Hour") combobox.put("12","12 Hours") combobox.put("24","24 Hours") combobox.put("48","2 days") combobox.put("168","1 week") combobox.put("pick","pick up") combobox.put("na","na") mygrid.init(); mygrid.loadXML("treegrid.xml"); } </script> <body onload="doOnLoad()"> <div id="gridbox" height="250"></div>

    See also our Java treetable applet - TreeTable.

    © 1998-2007 Scand LLC. Last updated 09/24/07 RSS