Jaejin Jang
Jaejin Jang

Reputation: 41

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

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?

Upvotes: 0

Views: 67

Answers (1)

goldim
goldim

Reputation: 460

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.

Upvotes: 1

Related Questions