-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing row methods to VirtualListElement #1803
Comments
This is a start, however it only gets the virtual rows, not all of them. This is presumably because the rows are coming from the browser, and being that the rows are virtualized, there are only a limited number in the client to be found. Perhaps a loop of (performance risky)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The row API for
VirtualListElement
andGridElement
are very similar in that they both have the following methods:void scrollToRow(int index)
boolean isRowInView(int index)
int getRowCount()
int getFirstVisibleRowIndex()
int getLastVisibleRowIndex()
However,
GridElement
has the following three methods for which there are no complementaryVirtualListElement
methods.GridTRElement getRow(int index)
List<GridTRElement> getRows(int firstRowIndex, int lastRowIndex)
List<GridTRElement> getVisibleRows()
I propose adding something like the following three methods to
VirtualListElement
:DivElement getRow(int index)
List<DivElement> getRows(int firstRowIndex, int lastRowIndex)
List<DivElement> getVisibleRows()
The text was updated successfully, but these errors were encountered: