Announcement

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

    ListGrid setCanExpandRecords(true) question

    I have a listgrid that gets a complex data set that has a parent record, and if child records exist, the expand icon appears and the user can expand the row and view the child records. Works perfectly.

    I'm overriding the ListGrid's getExpansionComponent method and displaying a neted ListGrid and it looks great.

    The problem is the moment I turn this feature on...passing true to setCanExpandRecords...the mouseover styling of the grid changes. With the setCanExpandRecords method call commented out and using the defaults, the mouseover gives me a nice blue mouseover that highlights the whole row when I have the mouse cursor hovering over...when I uncomment this and pass true to setCanExpandRecords...the mouseover now turns the row a murky gray color. The works even worse when a record I have meets hilite criteria I have set...the row is highlighted to the color I need it to be for the criteria I have set for the hilite, but mousing over with setCanExpandRecords set to true does nothing unless you're looking really hard, you can sort of see the background turn gray.

    Is there any way to enable expanding records in my ListGrid AND maintain the mouseover stylings of a grid that does not allow expanding rows?

    Even more odd, I have the setShowRowNumbers method set to true and THAT column's mouseover stylings work with and without being able to expand rows, even for rows that meet the hilite criteria.

    Any help is greatly appreciated. Thanks!

    #2
    See baseStyle and tallBaseStyle. We have to use simplified styling when rows may be variable height, due to limitations in IE. This will eventually go away.

    Comment


      #3
      Thanks for the reply! Will take a look.

      Comment

      Working...
      X