re-add truncated check to column sort (#10521)

closes #10490
This commit is contained in:
marthasharkey 2024-07-11 13:30:53 +01:00 committed by GitHub
parent 70887ea30c
commit b189ceae47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -551,6 +551,7 @@ watchEffect(() => {
// If data is truncated, we cannot rely on sorting/filtering so will disable.
options.defaultColDef.filter = !isTruncated.value
options.defaultColDef.sortable = !isTruncated.value
options.api.setColumnDefs(mergedColumnDefs)
options.api.setRowData(rowData)
})