Threaded View

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    14
    Answers
    1
    Vote Rating
    0
    travelbug is on a distinguished road

      0  

    Default Answered: How to get the model of the selected checkbox in tree's CheckedChangeHandler event

    Answered: How to get the model of the selected checkbox in tree's CheckedChangeHandler event


    <div>I am trying to get the tree model whose check box I just checked. I added a CheckedChangedHandler event to the tree to capture this but there doesn't seem to be a method that returns just that one model. I see that there's a getItems() method that returns all the checked items in the tree but is there a way to get the one I just checked? &nbsp;At first I thought the tree.getSelectionModel().getSelectedItem() gave me what I needed but the tree node checked isn't necessarily the item that was selected. I am using GXT 3.0.1.<br><br><br></div>

  2. Awesome! This is exactly what I was looking for. Thank you! =)

Thread Participants: 1