Results 1 to 4 of 4

Thread: Trees with Multiple columns as check-box

  1. #1

    Question Trees with Multiple columns as check-box

    Hi to all,

    I will like to know if it is posible to have a Tree with Multipe columns as check-boxes ?

    I was checking this example for theTrees with Multiple columns, but I'm really don't know how the set the colomuns to xtype:'cechbox' and capture the event when they are selected.

    http://docs.sencha.com/ext-js/4-0/#!/guide/tree

    I will appreciate if someone can give a clue how to make this posible, Tnks

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    The checkboxes in a tree are built in and will only display next to the icon. The checkcolumn that you can use in a grid does not work in a tree but you can use a templatecolumn and show images of checkboxes (that's what the checkcolumn does)
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3

    Default

    This template column can be functional, or it will be just images from the componentes ?

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    The check column that you would build based off of the template column would show just an image of the checkbox and you would have to handle the checking of the check box. This is how the checkbox is in the tree panel and in the grid, just images, not actual checkboxes.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

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