mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #5196 - DataTable: Row selection styling defect
This commit is contained in:
parent
0575260911
commit
3a89a10fd5
1 changed files with 2 additions and 1 deletions
|
@ -358,8 +358,9 @@ const classes = {
|
|||
}
|
||||
|
||||
if (props.selection) {
|
||||
console.log(props.selectionMode);
|
||||
rowStyleClass.push({
|
||||
'p-highlight': instance.isSelected && instance.$parentInstance.$parentInstance.highlightOnSelect
|
||||
'p-highlight': props.selectionMode === 'multiple' || props.selectionMode === 'single' ? instance.isSelected : instance.isSelected && instance.$parentInstance.$parentInstance.highlightOnSelect
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue