revolist / revogrid

Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
https://rv-grid.com
MIT License
2.74k stars 171 forks source link

Text not selectable on readonly or canFacus (false) grids #377

Open donmb1 opened 1 year ago

donmb1 commented 1 year ago
<v-grid
      theme="material"
      :source="rows"
      :columns="extendedColumns"
      :resize="true"
      :stretch="true"
      :readonly="true"
      :canFocus="false"
      rowClass="bg-stone-50 z-10"
      :rowSize="40"
      @beforesortingapply="emitSorting"
      @beforeCellFocus="beforeFocus"
    />

Unfortunately it is not possible to select any text (and e.g. copy it to clipboard) if a table is in readonly mode or has canFocus set to false. This makes it kind of inconvenient for users to interact with data. As a user I want to select text via Cursor and copy it to clipboard. Is there any workaround for this?