You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you attempt to call GridElement.getRow() on a row that's not currently being shown in grid's viewport, you'll get null. The problem is that the function doesn't mention this at all in the javadoc.
The solution would be either:
To mention explicitly that a null value can be returned when the rowIndex is outside of getFirstVisibleRowIndex()/getLastVisibleRowIndex() or isRowInView()
Or use scrollToRow() to make sure the result value is never null.
Also document what the function will return if the index is out of bounds (e.g. -1 or rowCount+1)
The text was updated successfully, but these errors were encountered:
If you attempt to call
GridElement.getRow()
on a row that's not currently being shown in grid's viewport, you'll get null. The problem is that the function doesn't mention this at all in the javadoc.The solution would be either:
scrollToRow()
to make sure the result value is never null.Also document what the function will return if the index is out of bounds (e.g. -1 or rowCount+1)
The text was updated successfully, but these errors were encountered: