Results 1 to 2 of 2

Thread: check-tree in SA 4.1

  1. #1
    Sencha User
    Join Date
    Jan 2017
    Posts
    2

    Default Answered: check-tree in SA 4.1

    How can I add check-tree to my view using Sencha Architect 4.1 (ExtJS 6.2.x).
    Example:
    http://examples.sencha.com/extjs/6.2...nk/#check-tree
    I dont find any component from the toolbox with xtype:'check-tree'.

  2. That xtype specifies the xtype of that new class which is written. There is no framework class check-tree.

    As you can see from the extend config it is basic tree Panel.

    See the comment at the beginning of that file:

    * This example shows simple checkbox selection in a tree. It is enabled on leaf nodes by
    * simply setting `checked: true/false` at the node level.

    http://examples.sencha.com/extjs/6.2...nk/#check-tree

    Check the Data tab, you will see that there is checked. So if you want to have checklist on your tree just add this to your json.

  3. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Answers
    103

    Default

    That xtype specifies the xtype of that new class which is written. There is no framework class check-tree.

    As you can see from the extend config it is basic tree Panel.

    See the comment at the beginning of that file:

    * This example shows simple checkbox selection in a tree. It is enabled on leaf nodes by
    * simply setting `checked: true/false` at the node level.

    http://examples.sencha.com/extjs/6.2...nk/#check-tree

    Check the Data tab, you will see that there is checked. So if you want to have checklist on your tree just add this to your json.

Similar Threads

  1. create a radio button tree instead of check tree
    By blackmamba16 in forum Ext: Q&A
    Replies: 1
    Last Post: 6 Feb 2014, 12:53 PM
  2. How to catch check event in a Check Tree
    By JEMF in forum Ext: Discussion
    Replies: 1
    Last Post: 25 Nov 2013, 8:22 AM
  3. How to behave check box tree like radio button tree
    By parvinder18 in forum Ext: Q&A
    Replies: 2
    Last Post: 5 Aug 2012, 7:56 PM
  4. Check Tree example with XmlTreeStore
    By msinn in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 24 May 2012, 4:07 AM
  5. tree grid with check box tree
    By diegolovison in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 8 Feb 2010, 4:31 AM

Tags for this Thread

Posting Permissions

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