From a21bb14310a8fc4bbfc6d23ff50d6e31420dbb94 Mon Sep 17 00:00:00 2001 From: alonstern Date: Fri, 5 Jan 2024 12:35:20 +0200 Subject: [PATCH] enabled cell text selection to allow copy from cell (#83) --- src/client/datatable.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/datatable.tsx b/src/client/datatable.tsx index c28dade..e4262e4 100644 --- a/src/client/datatable.tsx +++ b/src/client/datatable.tsx @@ -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}