Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid.getGridRenderer().setBackgroundColor(null) not behaving as expected in IE11.

    Hello,

    We can set the background color of the grid by calling ListGrid.getGridRenderer().setBackgroundColor("some color"), however, if we want to reverse that change and go back to the default background color by calling ListGrid.getGridRenderer().setBackgroundColor(null), that does not work in IE11. The previously set background color remains.

    This works perfectly in Chrome and FF. I don't recall this being a problem in IE11 before either, just noticed this happening now.

    SmartClient Version: v9.1p_2014-10-22/Pro Deployment (built 2014-10-22)

    Thanks

    #2
    Thanks for pointing this out - looks like IE helpfully ignores the obvious meaning of assigning a null value and insists upon empty string ("") instead.

    Workaround applied back to SGWT 3.1 for tomorrow's builds.

    Comment


      #3
      Thank you, problem resolved.

      Comment

      Working...
      X