Skip to Content

table scroll bar scrollPosition error

All,

I have a table with some fixed columns and some scrollable columns:

new sap.ui.table.Table({

  id: 'myId',

fixedColumnCount: 2,

layoutFixedL false,

visibleRowCount: 10

})

// some columns

the table is showing correctly on my screen and scrolls fine (most of the times) - I just see some js errors in the console coming from the sap-ui-core.js file

Uncaught Error: "xx.xx" is of type number, expected int for property "scrollTop" of Element sap.ui.commons.ListBox#someId"

is this a bug in sapui5 ??

thank you in advance,

Sergio

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 12, 2015 at 10:06 AM

    IIRC, there is a similar issue with sap.ui.commons.DropdownBox with a List inside, if you're using a browser zoom value other than 100%

    Are you using a browser zoom other than 100% too? If so, try setting it to 100% and see if the error still persists

    Add comment
    10|10000 characters needed characters exceeded

    • Well, you're mentioning a Table, but the console log mentions a Listbox, so I guess the two are not related anyway.

      If you're absolutely certain your browser renders at 100%, 1:1 zoom, then there might be another issue which I unfortunately can't help you with 😔

  • Jan 13, 2015 at 07:57 PM

    Robin,


    I have verified on another computer and yes the zoom does affect my page and that is the issue I had.

    Add comment
    10|10000 characters needed characters exceeded