mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3702 - DataTable and TreeTable: Column sorting not working correctly when using custom header template
This commit is contained in:
parent
9d0c38f870
commit
8c6d4d56d7
2 changed files with 4 additions and 2 deletions
|
@ -466,7 +466,8 @@ export default {
|
|||
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.getAttribute(targetNode.parentElement.parentElement, 'data-pc-section') === 'sorticon' ||
|
||||
targetNode.closest('[data-p-sortable-column="true"]')
|
||||
) {
|
||||
DomHandler.clearSelection();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue