In AG Grid Community, you can enable regular text selection as if the grid were a regular table. Add the following
to dashGridOptions
:
dashGridOptions = {"enableCellTextSelection": True, "ensureDomOrder": True}
With enableCellTextSelection
set to True
, you can now select text in the grid:
You can use this feature to select text and copy it to the browser’s clipboard. To see more on copying rows to the
clipboard using the dcc.Clipboard
component,
see