79816014

Date: 2025-11-10 19:45:29
Score: 1.5
Natty:
Report link

I was able to do this using the selectionColumnStyle prop!

The column will not be visible if you provide display: 'none' as the style to this prop.

<DataTable
    //...other props
    selectedRecords={mySelectedRecords}
    selectionColumnStyle={{ display: 'none' }}
/>

and you still get the nice highlighting

first row of DataTable showing no checkbox

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ngood97