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
This example has not been ported to R yet - showing the Python version instead.
Visit the old docs site for R at: https://community.plotly.com/c/dash/r/21