Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/datagrid-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- We added configurable selection count visibility and clear selection button label template for improved row selection management.

### Fixed

- The property panel now shows keep selection property when datagrid is set to single selection.

- We fixed an issue where missing consistency checks for the captions were causing runtime errors instead of in Studio Pro

## [3.6.1] - 2025-10-14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,12 @@ function hideSelectionProperties(defaultProperties: Properties, values: Datagrid
const { itemSelection, itemSelectionMethod } = values;

if (itemSelection === "None") {
hidePropertiesIn(defaultProperties, values, ["itemSelectionMethod", "itemSelectionMode", "onSelectionChange"]);
hidePropertiesIn(defaultProperties, values, [
"itemSelectionMethod",
"itemSelectionMode",
"onSelectionChange",
"keepSelection"
]);
}

if (itemSelectionMethod === "checkbox") {
Expand All @@ -170,11 +175,7 @@ function hideSelectionProperties(defaultProperties: Properties, values: Datagrid
}

if (itemSelection !== "Multi") {
hidePropertiesIn(defaultProperties, values, [
"keepSelection",
"selectionCountPosition",
"clearSelectionButtonLabel"
]);
hidePropertiesIn(defaultProperties, values, ["selectionCountPosition", "clearSelectionButtonLabel"]);
}
}

Expand Down
Loading