diff options
Diffstat (limited to 'testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java')
-rw-r--r-- | testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java index 945678ac2d..5371d81273 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java @@ -444,6 +444,13 @@ public class GridElement extends AbstractComponentElement { return getSubPart("#details[" + rowIndex + "]"); } + /** + * Toggles the column visibility. Column is identified by its hiding toggle + * caption. + * + * @param toggleCaption + * @since 8.0.6 + */ public void toggleColumnHidden(String toggleCaption) { if (!isElementPresent(By.className("v-grid-sidebar-content"))) { // Open sidebar menu |