column header height bug
I seem to have stumbled into a bug that appears when you specify column header height in em rather than px. It's kind of difficult to describe but very easy to see.
In example basic.htm from the distribition package make the following change:
Now make the window smaller so that vertical scroll bar appears, scroll down and then scroll up using the keyboard. You'll see that instead of floating below the column headers the highlighted row kinda slides underneath it and becomes partially or fully obscured by it ( depending on the column header height you set). It looks like if you set it in em, its height is either not taken into account when calculating the position of hightlighted row, or is regarded to be zero.
Can you reproduce this? Can this be fixed?
Many thanks,
In example basic.htm from the distribition package make the following change:
// obj.setColumnHeaderHeight("20px");
obj.setColumnHeaderHeight("1.5em");
Now make the window smaller so that vertical scroll bar appears, scroll down and then scroll up using the keyboard. You'll see that instead of floating below the column headers the highlighted row kinda slides underneath it and becomes partially or fully obscured by it ( depending on the column header height you set). It looks like if you set it in em, its height is either not taken into account when calculating the position of hightlighted row, or is regarded to be zero.
Can you reproduce this? Can this be fixed?
Many thanks,
Sergei
May 31,