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 Premium Member
    Join Date
    Jul 2008
    Posts
    17
    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
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      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
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      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.

Thread Participants: 1