Change pagesize of groups table in devicemgt react app

feature/appm-store/pbac
Jayasanka Weerasinghe 5 years ago
parent e1f7c3b073
commit 54e3e6e151

@ -175,11 +175,9 @@ class GroupsTable extends React.Component {
pagination={{ pagination={{
...pagination, ...pagination,
size: "small", size: "small",
// position: "top",
total: data.count, total: data.count,
pageSize: 2, pageSize: 10,
showTotal: (total, range) => `showing ${range[0]}-${range[1]} of ${total} groups` showTotal: (total, range) => `showing ${range[0]}-${range[1]} of ${total} groups`
// showQuickJumper: true
}} }}
loading={loading} loading={loading}
onChange={this.handleTableChange} onChange={this.handleTableChange}
@ -191,4 +189,4 @@ class GroupsTable extends React.Component {
} }
} }
export default withConfigContext(GroupsTable); export default withConfigContext(GroupsTable);

Loading…
Cancel
Save