Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

IE10 issue with frozen columns in treegrid

$
0
0
Hi,
I am using SmartGWT EE 4 (SmartClient Version: v9.0p_2014-01-13/Enterprise Deployment (built 2014-01-13)) and I observe a strange issue in IE10 (and earlier IE versions), which I can not reproduce in FireFox 26.

When I move the mouse pointer down a TreeGrid, the highlighted row develops a nasty visual glitch (break) at the first unfrozen column. See the attached screenshot.

I am not setting the row height in code, nor I am
using images in the row, however i do use formatters:
Code:

treeGridFieldsList.add( new TreeGridField(){{
                setName(BOM_SLACK);
                setType(ListGridFieldType.INTEGER);
                setAlign(Alignment.RIGHT); 
                setWidth(50);
               
        setCellFormatter(new CellFormatter(){

                @Override
                public String format(Object value, ListGridRecord record, int rowNum, int colNum) {
                               
                                Integer slack = (Integer)value;
                                if(slack!=null && slack<0)
                                        return "<span style='color:red'>"+slack.toString()+"</span>";
                               
                                return slack!=null?slack.toString():null;

                }});
}} );



Viewing all articles
Browse latest Browse all 4756

Trending Articles