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

ListGrid scrollbar buggy on IE11 with SmartGWT 4.0 and GWT 2.6.0

$
0
0
Hi guys,

I spent a day trying to figure out what's wrong with the scrollbar on IE11 and no luck. The list grid is displaying all results at once and the scrollbar buttons doesn't work.

SmartGWT's showcase doesn't have that issue and the funny thing is that I created a blank page with just the listgrid in there and nothing else (no external CSS or JS), and still.. I'm wondering if there's some obscure set up that I'm not doing on my end. below is a screenshot of the bug and the code used to generate the grid:

screenshot: http://s28.postimg.org/e34118br0/smart_gwt_ie11_bug.jpg

Code:

@Override
        public void onModuleLoad() {
                RootPanel.get().add(newTestListGrid()); // newTestListGrid().draw(); didn't work either
        }
       
        private ListGrid newTestListGrid() {
                ListGrid grid = new ListGrid(); 
                grid.setWidth(550);
                grid.setHeight(224);
                grid.setZIndex(50000);
                grid.setHeaderHeight(40);
                List<ListGridField> fields = new ArrayList<ListGridField>();
        fields.add(new ListGridField("studentName", "Name"));
        grid.setFields(fields.toArray(new ListGridField[fields.size()]));
        List<ListGridRecord> records = new ArrayList<ListGridRecord>();
            ListGridRecord r;
        for (int oI = 0; oI < 100; oI++) {
                r = new ListGridRecord();
                    r.setAttribute("studentName", "sei la");
                    records.add(r);
        }
        grid.setData(records.toArray(new ListGridRecord[records.size()]));
        return grid;
        }

OS: Windows 7
Browser: IE 11
SmartGWT: 4.0
GWT: 2.6.0

Does anybody knows how to solve this?

Thanks a lot for your time

Viewing all articles
Browse latest Browse all 4756

Trending Articles