Clear Up
SharpKit Reference

Ext.tree Namespace

Download SDK: SharpKit.ExtJs.zip

Classes

Name Description
Column

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

Provides indentation and folder structure markup for a Tree taking into account depth and position within the tree hierarchy.

ColumnConfig
ColumnEvents
Panel

The TreePanel provides tree-structured UI representation of tree-structured data. A TreePanel must be bound to a Ext.data.TreeStore. TreePanel's support multiple columns through the columns configuration.

Simple TreePanel using inline data:

  
var store = Ext.create('Ext.data.TreeStore', {
            root: {
            expanded: true,
            children: [
            { text: "detention", leaf: true },
            { text: "homework", expanded: true, children: [
            { text: "book report", leaf: true },
            { text: "alegrbra", leaf: true}
            ] },
            { text: "buy lottery tickets", leaf: true }
            ]
            }
            });
            Ext.create('Ext.tree.Panel', {
            title: 'Simple Tree',
            width: 200,
            height: 150,
            store: store,
            rootVisible: false,
            renderTo: Ext.getBody()
            });
            

For the tree node config options (like text, leaf, expanded), see the documentation of NodeInterface config options.

PanelConfig
PanelEvents
View

Used as a view by TreePanel.

ViewConfig
ViewDragZone

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

ViewDragZoneConfig
ViewDragZoneEvents
ViewDropZone

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

ViewDropZoneConfig
ViewDropZoneEvents
ViewEvents
© Copyright 2005-2011 SharpKit. All rights reserved.