Skip to content

Commit

Permalink
feat(plugin-chart-table): add tooltip about multiple sort (#958)
Browse files Browse the repository at this point in the history
* feat(plugin-chart-table): subject Add tooltip show multiple sort

* Change message
  • Loading branch information
maloun96 authored and zhaoyongjie committed Nov 26, 2021
1 parent ef46c2e commit b5627c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ export default function TableChart<D extends DataRecord = DataRecord>(
// render `Cell`. This saves some time for large tables.
return <td {...cellProps}>{text}</td>;
},
Header: ({ column: col, title, onClick, style }) => (
Header: ({ column: col, onClick, style }) => (
<th
title={title}
title="Shift + Click to sort by multiple columns"
className={col.isSorted ? `${className || ''} is-sorted` : className}
style={style}
onClick={onClick}
Expand Down

0 comments on commit b5627c7

Please sign in to comment.