Fixed #5196 - DataTable: Row selection styling defect
parent
0575260911
commit
3a89a10fd5
|
@ -358,8 +358,9 @@ const classes = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.selection) {
|
if (props.selection) {
|
||||||
|
console.log(props.selectionMode);
|
||||||
rowStyleClass.push({
|
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…
Reference in New Issue