mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - DataTable sort fixes
This commit is contained in:
parent
e55e2a2de9
commit
d21216de3a
2 changed files with 6 additions and 5 deletions
|
@ -464,10 +464,11 @@ export default {
|
|||
|
||||
if (
|
||||
DomHandler.getAttribute(targetNode, 'data-p-sortable-column') === true ||
|
||||
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'headerTitle' ||
|
||||
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'headerContent' ||
|
||||
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'sortIcon' ||
|
||||
DomHandler.getAttribute(targetNode.parentElement, 'data-pc-section') === 'sortIcon'
|
||||
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'headertitle' ||
|
||||
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'headercontent' ||
|
||||
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'sorticon' ||
|
||||
DomHandler.getAttribute(targetNode.parentElement, 'data-pc-section') === 'sorticon' ||
|
||||
DomHandler.getAttribute(targetNode.parentElement.parentElement, 'data-pc-section') === 'sorticon'
|
||||
) {
|
||||
DomHandler.clearSelection();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue