1. #1
    Ext GWT Premium Member
    Join Date
    Jul 2009
    Posts
    187
    Vote Rating
    0
    Serge Adda is on a distinguished road

      0  

    Default Does CheckBoxSelectionModel fires an event when we uncheck

    Does CheckBoxSelectionModel fires an event when we uncheck


    If we use the CheckBoxSelectionModel in a grid, and one column displays the "checkbox" associated with the "CheckBoxSelectionModel.getColumn()" configuration.

    I want to receive the events when rows are "checked" and "unchecked" ... I saw that I can register a listener for the selection model like in this code extract:

    Code:
    		
    final CheckBoxSelectionModel<ModelData> cbsm = new CheckBoxSelectionModel<ModelData>();
    cbsm.addSelectionChangedListener(new SelectionChangedListener<ModelData>() {
    	@Override
    	public void selectionChanged(SelectionChangedEvent<ModelData> se) {
    		// need to know if it was selected or unselected here -- how ???
    	}
    });
    So, is it possible to do this; how?

    Thank you!

  2. #2
    Ext User
    Join Date
    Dec 2009
    Posts
    49
    Vote Rating
    0
    siberian is on a distinguished road

      0  

    Default


    Old post (sorry, trolling for an answer to another question).

    I did it like this:

    http://www.extjs.com/forum/showthread.php?t=56772

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar