Clear Up
SharpKit Reference

TreeStoreConfig Class


Base Types



Name Description


Name Description
clearOnLoad Remove previously existing child nodes before loading. Default to true.
defaultRootId The default root id. Defaults to 'root'
defaultRootProperty The root property to specify on the reader if one is not explicitly defined.
folderSort Set to true to automatically prepend a leaf sorter. Defaults to `undefined`.
nodeParam The name of the parameter sent to the server which contains the identifier of the node. Defaults to 'node'.
root The root node for this store. For example: * root: { expanded: true, text: "My Root", children: [ { text: "Child 1", leaf: true }, { text: "Child 2", expanded: true, children: [ { text: "GrandChild", leaf: true } ] } ] } * Setting the `root` config option is the same as calling {@link #setRootNode}.
© Copyright 2005-2011 SharpKit. All rights reserved.