Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

replied

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

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question