Skip to content

Commit

Permalink
Update GridManager.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gnbm committed Aug 20, 2024
1 parent 75a11b8 commit 2bf72dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OutSystems/GridAPI/GridManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace OutSystems.GridAPI.GridManager {
let output = false;
if (grid !== undefined) {
if (grid.isReady && data !== '' && data !== '{}') {
// When the configurantion is set to sanitize the input values, we need to sanitize the data before setting it
if (grid.config.sanitizeInputValues) data = OSFramework.DataGrid.Helper.Sanitize(data);
grid.setData(data);
}
Expand Down

0 comments on commit 2bf72dc

Please sign in to comment.