Feature #13678
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>
contextActions: ContextMenuActionGroup[];
searchValue: string;
rowsPerPage: number;
+ rowsPerPageOptions?: number[];
page: number;
onSearch: (value: string) => void;
onRowClick: (item: T) => void;
<TablePagination
count={this.props.items.length}
rowsPerPage={this.props.rowsPerPage}
+ rowsPerPageOptions={this.props.rowsPerPageOptions}
page={this.props.page}
onChangePage={this.changePage}
onChangeRowsPerPage={this.changeRowsPerPage}
items: any[];
page: number;
rowsPerPage: number;
+ rowsPerPageOptions?: number[];
searchValue: string;
}
columns: [],
items: [],
page: 0,
- rowsPerPage: 0,
+ rowsPerPage: 10,
+ rowsPerPageOptions: [5, 10, 25, 50],
searchValue: ""
};