Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-1851 in 3.0 RC2.
  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    129
    Vote Rating
    2
    audra is on a distinguished road

      0  

    Default Can't apply a custom appearance to RowExpander

    Can't apply a custom appearance to RowExpander


    There is no constructor that accepts an appearance, I see that the RowExpanderBaseAppearance accepts a resource file in it's constructor, but there is no place to attach the new appearance to the RowExpander.

    I can override the render in the cell, but then expanding doesn't work since those actions are based to the RowExpanderBaseAppearance that's attached to RowExpander and it's styles.

    I do not want to override the base appearance for my entire app, so applying a rule won't help.

    Thanks,
    Audra

  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


    Moved to the correct place

  3. #3
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for the report. This sounds like a correction we should make, so I've filed a bug against the team.

    As a workaround for the moment, you could create a RowExpander and replace the appearance with one of your own using JSNI. Create your own appearance implementing RowExpanderAppearance, then pass it into a native method that sets it to RowExpander.appearance. See https://developers.google.com/web-to...methods-fields for details on the syntax to use for doing so. This allows you to circumvent Java visibility.

    We'll update this thread with any changes we make. When we do, be sure to remove the JSNI hack.

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fixed in SVN.

  5. #5
    Sencha User
    Join Date
    Oct 2010
    Posts
    129
    Vote Rating
    2
    audra is on a distinguished road

      0  

    Default


    thanks!!

  6. #6
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This shortcoming has been resolved in the Release Candidate 2 build of Ext GWT 3. Please update your copy of Ext GWT and try your test case again. While we're confident that we've addressed this issue, please reply if you notice any continued problems after upgrading. Again, thanks for taking the time to report this bug.