@FunctionalInterface public interface NodeCollapseRpc extends ServerRpc
| Modifier and Type | Method and Description |
|---|---|
void |
setNodeCollapsed(String rowKey,
int rowIndex,
boolean collapse,
boolean userOriginated)
Sets the collapse state of a hierarchical row in TreeGrid.
|
void setNodeCollapsed(String rowKey, int rowIndex, boolean collapse, boolean userOriginated)
rowKey - the row's keyrowIndex - index where the row is in grid (all rows)collapse - true to collapse, false to expanduserOriginated - true if this RPC was triggered by a user interaction,
false otherwiseCopyright © 2017 Vaadin Ltd. All rights reserved.