In what cases does the return value of getInnerSize() become null?

61 Views Asked by At

I'm trying to scroll to the row found using the setFocusedCell() function of the table.
setFocusedCell() method

However, the scrolling feature is not working because the return value of getInnerSize() becomes null.
call getInnerSize()

In what cases does the return value of getInnerSize() become null?

1

There are 1 best solutions below

0
goldim On

Real sizes of a witdget you can get after it will be added to DOM and rendered. Consider appear event to get not null value of getInnerSize(). There is another method which you find interesting - getSizeHint.