Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2734 in 3.0.4.
  1. #1
    Sencha User
    Join Date
    Jul 2008
    Posts
    14
    Vote Rating
    0
    winter is on a distinguished road

      0  

    Default TabPanel update ignores TabItemConfig close

    TabPanel update ignores TabItemConfig close


    calling TabPanel.update(Widget,new TabItemConfig(String text,Boolean close) updates the text but not the close.

    I believe the culprit to be in TabPanelBaseAppearance updateItem(XElement item, TabItemConfig config), config.isClosable() isn't used unlike the insert method.

    Found in GXT 3.0.1

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    1,931
    Vote Rating
    55
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    1,931
    Vote Rating
    55
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    This has been fixed in SVN, and will be available in the next release. The fix was to modify the TabPanelBaseAppearance so that the update item method also toggled the close class name, as the insert method did.