Show row selection checkbox #3045
Replies: 3 comments 1 reply
-
Also renderers props is not working |
Beta Was this translation helpful? Give feedback.
-
@visshaljagtap - Did you make sure to add a column for the checkbox? Look for |
Beta Was this translation helpful? Give feedback.
-
Hi, i am using the SelectColumn variable for the checkbox, but having row selection issue i.e when i click on any row it is selecting all the rows. When i checked for the selectedRow it gave me the row which i clicked on and an undefined value(i think which is for select-all check box), which is trigerring the all row selection. |
Beta Was this translation helpful? Give feedback.
-
I am using version 7.0.0-beta.12
How to show checkbox selection for rows?
I have did the following configuration
<DataGrid
headerRowHeight={filters?.enabled ? 70 : undefined}
style={{ height: '95%' }}
className='rdg-light fill-grid'
columns={columns}
rows={data ? data : []}
rowKeyGetter={rowKeyGetter}
selectedRows={selectedRows}
onSelectedRowsChange={setSelectedRows}
defaultColumnOptions={{
sortable: true,
resizable: true
}}
/>
Beta Was this translation helpful? Give feedback.
All reactions