diff --git a/.gitignore b/.gitignore index b4e19cae2..00cdf395f 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,6 @@ Icon Network Trash Folder Temporary Items .apdisk + +# IDEs +.idea diff --git a/src/components/Grid.jsx b/src/components/Grid.jsx index beda8abb7..4afe24ab6 100644 --- a/src/components/Grid.jsx +++ b/src/components/Grid.jsx @@ -133,6 +133,7 @@ export class Grid extends Component { const { dataSource, gridType, + pageSize, events, plugins, reducerKeys, @@ -152,7 +153,7 @@ export class Grid extends Component { this.setColumns(); - this.setData(); + this.setData({ pageSize }); this.columnManager.init({ plugins,