Announcement

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

    Selected header bug in TreeGrid with frozen columns

    There is a bug when total width of columns is less than total width of grid.

    If I click on empty space between the last column header and the sort button at the right edge - the first un-frozen column header gets highlighted

    Even when I first sort by Name column and then click that blank space

    Just paste my code example below to your demo here

    http://www-demos.smartclient.com/iso...ise#freezeTree

    Code:
    isc.TreeGrid.create({
        width:500, height:224,
        dataSource: employees,
        autoFetchData:true,
        fields:[
            {name:"Name", frozen:true, width:150},
            {name:"Email", width:150},
            {name:"Job", width:150}
        ]
    });

    #2
    This is actually the focus indicator - you're clicking on the (unfrozen) header - the parent of the unfrozen header buttons and it's natively giving focus to the first unfrozen header button, which causes the focused appearance -- which looks quite similar to the selected appearance in this skin -- to be displayed.
    You can avoid this by disabling focus on the header buttons entirely - simply add this:
    Code:
        headerButtonProperties:{canFocus:false},
    to your grid.

    We'll also look at whether there's a good framework change to improve this behavior

    Regards
    Isomorphic Software

    Comment


      #3
      Thanks for the workaround

      Comment

      Working...
      X