Refactor: Remove checkbox and pagination
This commit is contained in:
parent
4b090d6229
commit
f5f5147397
1 changed files with 0 additions and 6 deletions
|
|
@ -94,17 +94,11 @@ export default function ShortcutsPage() {
|
|||
<div className="grid gap-6 pb-8">
|
||||
<div>
|
||||
<TableComponent
|
||||
onSelectionChanged={(event: SelectionChangedEvent) => {
|
||||
setSelectedRows(
|
||||
event.api.getSelectedRows().map((row) => row.name),
|
||||
);
|
||||
}}
|
||||
suppressRowClickSelection={true}
|
||||
domLayout="autoHeight"
|
||||
pagination={false}
|
||||
columnDefs={colDefs}
|
||||
rowData={nodesRowData}
|
||||
paginationPageSize={8}
|
||||
onCellDoubleClicked={(e) => {
|
||||
setSelectedRows([e.data.name]);
|
||||
setOpen(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue