Skip to content

Commit bd3a6da

Browse files
committed
fix
1 parent 36e4297 commit bd3a6da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/devextreme/js/__internal/grids/grid_core/data_controller/m_data_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const changePaging = function (that, optionName, value) {
4343

4444
that._skipProcessingPagingChange = true;
4545
that.option(`paging.${optionName}`, value);
46-
if (optionName === 'pageSize') {
46+
if (optionName === 'pageSize' && value === 0) {
4747
that.option('paging.pageIndex', 0);
4848
}
4949
that._skipProcessingPagingChange = false;

0 commit comments

Comments
 (0)