Skip to content

Commit

Permalink
making rows selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
enrique-prado committed Oct 16, 2024
1 parent 20b95a6 commit 15437ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Workflows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const WorkflowsPage = () => {
<section>
<Table
data={data}
selectableRows="multiple"
columns={[
{
Header: "Type", accessor: "Type",
Expand All @@ -60,7 +61,7 @@ const WorkflowsPage = () => {
{ Header: "Created At", accessor: "CreationDate" },
{ Header: "Created By", accessor: "CreatedBy" },
]}
itemsPerPageOptions={[5, 10, 20]}
itemsPerPageOptions={[5, 10, 20, 1000]}
allowToggleColumnVisibility
handleRefresh={() => {
console.log("Handle your refresh logic here");
Expand Down

0 comments on commit 15437ef

Please sign in to comment.