From 2fcb0106d253b1da6de97f0995de51588403cba8 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Tue, 24 Oct 2023 11:38:06 -0500 Subject: [PATCH] CE-604 Add properties: fixedStickyLastRow, fixedHeight --- .../model/dashboard/widgets/TableData.java | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/TableData.java b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/TableData.java index d8330878..630e1cc5 100644 --- a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/TableData.java +++ b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/dashboard/widgets/TableData.java @@ -39,6 +39,8 @@ public class TableData extends QWidgetData private List> rows; private Integer rowsPerPage; private Boolean hidePaginationDropdown; + private Boolean fixedStickyLastRow = false; + private Integer fixedHeight; @@ -543,4 +545,67 @@ public class TableData extends QWidgetData } } + + + + /******************************************************************************* + ** Getter for fixedStickyLastRow + *******************************************************************************/ + public Boolean getFixedStickyLastRow() + { + return (this.fixedStickyLastRow); + } + + + + /******************************************************************************* + ** Setter for fixedStickyLastRow + *******************************************************************************/ + public void setFixedStickyLastRow(Boolean fixedStickyLastRow) + { + this.fixedStickyLastRow = fixedStickyLastRow; + } + + + + /******************************************************************************* + ** Fluent setter for fixedStickyLastRow + *******************************************************************************/ + public TableData withFixedStickyLastRow(Boolean fixedStickyLastRow) + { + this.fixedStickyLastRow = fixedStickyLastRow; + return (this); + } + + + + /******************************************************************************* + ** Getter for fixedHeight + *******************************************************************************/ + public Integer getFixedHeight() + { + return (this.fixedHeight); + } + + + + /******************************************************************************* + ** Setter for fixedHeight + *******************************************************************************/ + public void setFixedHeight(Integer fixedHeight) + { + this.fixedHeight = fixedHeight; + } + + + + /******************************************************************************* + ** Fluent setter for fixedHeight + *******************************************************************************/ + public TableData withFixedHeight(Integer fixedHeight) + { + this.fixedHeight = fixedHeight; + return (this); + } + }