Skip to content

Commit

Permalink
Merge branch 'feat/paginated-table' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Feb 14, 2025
2 parents d9e2874 + bd10fb7 commit a9b3024
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/PaginatedTable/PaginatedTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ const PaginatedTableComp = forwardRef<PaginatedTableRef, PaginatedTableProps>(

const handleSortChanged = useCallback(
(event: SortChangedEvent) => {
if (event.source !== "uiColumnSorted") {
return;
}

const sortState = event.api
.getColumnState()
.filter((col) => col.sort)
Expand Down

0 comments on commit a9b3024

Please sign in to comment.