diff options
Diffstat (limited to 'sdnr/wt/odlux/framework/src/components')
-rw-r--r-- | sdnr/wt/odlux/framework/src/components/material-table/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/framework/src/components/material-table/index.tsx b/sdnr/wt/odlux/framework/src/components/material-table/index.tsx index 402d1007e..a95282d70 100644 --- a/sdnr/wt/odlux/framework/src/components/material-table/index.tsx +++ b/sdnr/wt/odlux/framework/src/components/material-table/index.tsx @@ -408,7 +408,7 @@ class MaterialTableComponent<TData extends {} = {}> extends React.Component<Mate if (isMaterialTableComponentPropsWithRequestData(this.props)) { this.setState({ loading: true }); const result = await Promise.resolve( - this.props.onRequestData( 1, 1000, this.state.orderBy, this.state.order, this.state.showFilter && this.state.filter || {}) + this.props.onRequestData( 0, 1000, this.state.orderBy, this.state.order, this.state.showFilter && this.state.filter || {}) ); data = result.rows; this.setState({ loading: true }); |