Remove selectedRow
prop from DataTable
and add a new prop to toggle multi-row selection
#1368
Labels
selectedRow
prop from DataTable
and add a new prop to toggle multi-row selection
#1368
#1360 introduced support for multi-row selection, by adding a new
selectedRows
prop.With those changes,
DataTable
allows multi-row selection only ifselectedRows
is provided, and single-row selection ifselectedRow
is instead. However, we have not explicitly handled what happens if both are provided, other than just preferringselectedRows
overselectedRow
.To make the props API more obvious, let's remove
selectedRow
, and add a new prop to enable/disable multi-row selection.The text was updated successfully, but these errors were encountered: