Skip to content

Commit

Permalink
enabled cell text selection to allow copy from cell (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonstern authored Jan 5, 2024
1 parent 941ea28 commit a21bb14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/datatable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ function DataTable(props: { columnDefs: any; rowData: any }) {
defaultColDef={{ resizable: true, filter: true, sortable: true, floatingFilter: true }}
columnDefs={props.columnDefs}
rowData={props.rowData}
enableCellTextSelection={true}
rowSelection="multiple"
rowMultiSelectWithClick={false}
onCellDoubleClicked={onCellDoubleClicked}
Expand Down

0 comments on commit a21bb14

Please sign in to comment.