diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/filter/header/DateHeaderFilter.java b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/filter/header/DateHeaderFilter.java index bc3c284f1..192001ed4 100644 --- a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/filter/header/DateHeaderFilter.java +++ b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/filter/header/DateHeaderFilter.java @@ -26,6 +26,7 @@ import org.dominokit.domino.ui.datatable.model.SearchContext; import org.dominokit.domino.ui.datatable.plugins.column.ColumnHeaderFilterPlugin; import org.dominokit.domino.ui.forms.DateBox; +import org.dominokit.domino.ui.utils.ChildHandler; /** * The DateHeaderFilter class provides a header filter for date columns in a DataTable. It allows @@ -73,6 +74,11 @@ public DateBox getDateBox() { return dateBox; } + public DateHeaderFilter withDateBox(ChildHandler, DateBox> handler) { + handler.apply(this, dateBox); + return this; + } + /** * Initializes the DateHeaderFilter and sets up filtering behavior. *