Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    62
    Vote Rating
    0
    maqjav is on a distinguished road

      0  

    Default [FNR] TreePanel with checkboxes CheckChangedListener returns null

    [FNR] TreePanel with checkboxes CheckChangedListener returns null


    Hello.

    I just updated to GXT 2.2 beta and I found a bug with TreePanel.

    Code:
    TreePanel<BeanModel> tree= new TreePanel<BeanModel>(storeAtributes);  
    tree.setDisplayProperty("name");
    tree.setCheckable(true); 
    tree.addCheckListener(new CheckChangedListener<BeanModel>() {  
    
             public void checkChanged(CheckChangedEvent<BeanModel> event) {  
    	        for (BeanModel bean : event.getCheckedSelection()) {
    		      // do something
    		}
    });
    If I click on a checkbox the event is fired and event.getCheckedSelection always returns null.
    This function was working perfectly before, but now it's not.

    Thanks.

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN as of revision #2164

Similar Threads

  1. [FNR] RowEditor focuses even if startedit returns early
    By PeterW in forum Ext GWT: Bugs (2.x)
    Replies: 1
    Last Post: 2 Mar 2010, 3:34 AM
  2. [OPEN] [FNR] Null Pointer Exception from QuickTips
    By C. Cox in forum Ext GWT: Bugs (2.x)
    Replies: 1
    Last Post: 16 Sep 2009, 1:38 PM
  3. Ext.get('menuItem') returns null
    By jcouture in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 12 May 2009, 12:41 PM
  4. [1.2.2] ComboBox getValue returns null
    By mariusz.pala in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 4 Feb 2009, 12:25 AM
  5. findPanel always returns null
    By seymores in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 19 Apr 2007, 6:06 PM

Thread Participants: 1