So lets have following markup for PrimeNG table
<p-dataTable
selectionMode="multiple"
[(selection)]="selectedUsers"
dataKey="id"
[value]="users">
There obviously is a difference between selectionMode="multiple"
and [selection]="multiple"
as second variand does not make table selectable. What is the difference??
For a moment i thought that property=
will set value once while [property]=
would bind that property to input value so it would reflect its changes, but if that is the case, in both variants table should behave the same in my case.