Row selection is the default in datatable(...,). We can toggle the selection by clicking on the row. It can also be disabled by setting the datatable(..., selection = 'none') property. The 'selection' mode can also be set to 'single' or 'multiple'. By default, the multiple selection mode is set.