1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    1
    Vote Rating
    0
    ben.biddington is on a distinguished road

      0  

    Default GridView in Internet Explorer 7 removes row highlighting

    GridView in Internet Explorer 7 removes row highlighting


    For some reason we are getting row highlighting removed from our GridView on initial load. Subsequent selections have correct behaviour, i.e., the selected row is coloured as expected.
    • We know that our selection is being applied, because of the underlying selection model.
    • We also know that nothing is modifying the selection model to produce the effect -- since the selection model remains as set.

    There appears to be something somewhere removing the highlighting by interacting solely with the GridView. I guess this implies something internal to the GridView itself.

    Sorry that's as descriptive as I can be -- this is quite confounding.

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    does the problem manifest itself in the online examples?

  3. #3
    Ext User
    Join Date
    Nov 2007
    Location
    Centreville, VA
    Posts
    58
    Vote Rating
    0
    mmusson is on a distinguished road

      0  

    Default


    Quote Originally Posted by ben.biddington View Post
    There appears to be something somewhere removing the highlighting by interacting solely with the GridView. I guess this implies something internal to the GridView itself.
    I fixed a problem in IE7 with a customized version of the ColumnTreePanel recently. The problem sounds similar to yours so I will describe it to see if it helps you.

    The problem was that row highlighting stopped working for the last child for every node of the tree. When you clicked the row, nothing would be highlighted, but the control did consider the item to be selected. It was just that the visual indication of the selection wasn't working.

    The highlight is done using a CSS style on the div that wraps the whole row. Using Firebug I could verify that the CSS style was added exactly like the other rows and the CSS style precedence was resolving the same as the other rows. So it appeared to be a CSS bug within IE. By accident I discovered that applying the CSS style directly to the divs for each column in the row worked, so that became the work around.

Thread Participants: 2