Results 1 to 2 of 2

Thread: TreePanel that has Checkboxes as Nodes

  1. #1
    Ext User
    Join Date
    May 2010
    Vote Rating

    Default TreePanel that has Checkboxes as Nodes


    Working on the Designer, is there a way for one to create a TreePanel that has textboxes as Nodes ? Seeing the program the obvious answer is not, but I am asking in case there is a way.

    Alternatively, I'll have to write the .js file, and then "combine" it with the .xds program somehow?

  2. #2
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Frederick, MD
    Vote Rating


    By default, a TreeNode uses the TreeNodeUI class. You are able to specify your own uiProviders for your TreeLoader, which is a hash of uiProvider classes specified on your TreeNode's.

    In short, no, there isn't a way to change your TreeNode's UI other than implementing your own in your .js file or a separate file. The UI for each node is dictated by the node data that is loaded, usually coming from the server. The Designer doesn't have the ability to mock up your TreeNode's, just the TreePanel itself. This would be a good future addition however...

    See the uiProvider config property on the TreeNode class, and the uiProviders config property on the TreeLoader class in the online documentation for more information. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts