Hello,
I'm looking for information about using [pSelectableRowDisabled] in PrimeNg Table.
If you had items or even see an example of use.
Cordially
How does [pSelectableRowDisabled] work in PrimeNg Table
-
- Posts: 1
- Joined: 12 Jan 2021, 11:41
In case someone comes here looking for instructions:
Just add pSelectableRowDisabled to a <tr></tr> and pass a true/false value to it.
This basically removes the "tabindex" attribute from the tr element where you apply it.
For example:
One can also provide a variable to change this conditionally.
Just add pSelectableRowDisabled to a <tr></tr> and pass a true/false value to it.
This basically removes the "tabindex" attribute from the tr element where you apply it.
For example:
Code: Select all
<p-table>
<tr>
<th>
</th>
</tr>
<tr [pSelectableRowDisabled]="true">
<td>
Unselectable Row
</td>
</tr>
</p-table>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests