We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.shared.ui.treegrid.
Interface NodeCollapseRpc
-
All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NodeCollapseRpc extends ServerRpc
RPC to handle client originated collapse and expand actions on hierarchical rows in TreeGrid.
Since:
8.1
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description void
setNodeCollapsed​(String rowKey, int rowIndex, boolean collapse, boolean userOriginated)
Sets the collapse state of a hierarchical row in TreeGrid.
-
-
-
Method Detail
-
setNodeCollapsed
void setNodeCollapsed​(String rowKey, int rowIndex, boolean collapse, boolean userOriginated)
Sets the collapse state of a hierarchical row in TreeGrid.
Parameters:
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
otherwise
-
-