In the prime datatable I have a checkbox to select multiple rows. When I select or unselect the checkbox, all the rows get selected/unselected correctly. On selecting or unselecting the checkbox I want to disable few buttons at the top. Hence I need help in knowing the attribute to capture selection.
<p-dataTable>
<p-column selectionMode="multiple">
</p-column>
</p-dataTable>