diff --git a/packages/pluggableWidgets/datagrid-web/CHANGELOG.md b/packages/pluggableWidgets/datagrid-web/CHANGELOG.md index 36635bfbe1..63daefdd26 100644 --- a/packages/pluggableWidgets/datagrid-web/CHANGELOG.md +++ b/packages/pluggableWidgets/datagrid-web/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We added a "Custom row key" property in the Advanced section to provide stable row identifiers when using view entities, preventing scroll position loss during data refresh. +### Fixed + +- We fixed an issue where the scrollbar disappeared in virtual scrolling mode after hiding a column. + ## [3.9.0] - 2026-03-23 ### Changed diff --git a/packages/pluggableWidgets/datagrid-web/src/components/Pagination.tsx b/packages/pluggableWidgets/datagrid-web/src/components/Pagination.tsx index 0068a2b798..775ff5b8c5 100644 --- a/packages/pluggableWidgets/datagrid-web/src/components/Pagination.tsx +++ b/packages/pluggableWidgets/datagrid-web/src/components/Pagination.tsx @@ -13,12 +13,12 @@ export const Pagination = observer(function Pagination(): ReactNode { canNextPage={paging.hasMoreItems} canPreviousPage={paging.currentPage !== 0} gotoPage={page => paging.setPage(page)} - nextPage={() => paging.setPage(n => n + 1)} + nextPage={() => paging.setPage((n: number) => n + 1)} numberOfItems={paging.totalCount} page={paging.currentPage} pageSize={paging.pageSize} showPagingButtons={paging.showPagingButtons} - previousPage={() => paging.setPage(n => n - 1)} + previousPage={() => paging.setPage((n: number) => n - 1)} pagination={paging.pagination} /> ); diff --git a/packages/pluggableWidgets/datagrid-web/src/components/WidgetFooter.tsx b/packages/pluggableWidgets/datagrid-web/src/components/WidgetFooter.tsx index ee39956ce3..e1ea44d6d0 100644 --- a/packages/pluggableWidgets/datagrid-web/src/components/WidgetFooter.tsx +++ b/packages/pluggableWidgets/datagrid-web/src/components/WidgetFooter.tsx @@ -35,7 +35,7 @@ export const WidgetFooter = observer(function WidgetFooter(): ReactElement | nul