public interface GridClientRpc extends ClientRpc
| Modifier and Type | Method and Description |
|---|---|
void |
scrollToEnd()
Command client Grid to scroll to the last row.
|
void |
scrollToRow(int row,
ScrollDestination destination)
Command client Grid to scroll to a specific data row and its (optional)
details.
|
void |
scrollToStart()
Command client Grid to scroll to the first row.
|
void scrollToRow(int row,
ScrollDestination destination)
row - zero-based row index. If the row index is below zero or above
the row count of the client-side data source, a client-side
exception will be triggered. Since this exception has no
handling by default, an out-of-bounds value will cause a
client-side crash.destination - desired placement of scrolled-to row. See the documentation
for ScrollDestination for more information.void scrollToStart()
void scrollToEnd()
Copyright © 2017 Vaadin Ltd. All rights reserved.