Threaded View

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


    Default 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