Skip to content

Commit

Permalink
fix: position of paging button on datagrid
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulivan committed Jan 24, 2025
1 parent cd1ec09 commit 9405301
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/modules/data-widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/data-widgets",
"moduleName": "Data Widgets",
"version": "2.29.0",
"version": "2.29.1",
"license": "Apache-2.0",
"copyright": "© Mendix Technology BV 2023. All rights reserved.",
"private": true,
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/datagrid-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- We fixed the position configuration of paging button that removed on previous version.

## [2.29.0] - 2025-01-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/datagrid-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/datagrid-web",
"widgetName": "Datagrid",
"version": "2.29.0",
"version": "2.29.1",
"description": "",
"copyright": "© Mendix Technology BV 2023. All rights reserved.",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ export function getProperties(
hidePropertyIn(defaultProperties, values, "showNumberOfRows");
} else {
hidePropertyIn(defaultProperties, values, "showPagingButtons");
}

if (values.showNumberOfRows === false) {
hidePropertyIn(defaultProperties, values, "pagingPosition");
if (values.showNumberOfRows === false) {
hidePropertyIn(defaultProperties, values, "pagingPosition");
}
}

if (values.pagination !== "loadMore") {
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/datagrid-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Datagrid" version="2.29.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Datagrid" version="2.29.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Datagrid.xml" />
</widgetFiles>
Expand Down

0 comments on commit 9405301

Please sign in to comment.