Skip to content

Commit

Permalink
Doc for TanStack/table#1615 (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
gargroh authored and miracle65-dev committed Jan 10, 2020
1 parent 22d8f5d commit d58cd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/useSortBy.md
Expand Up @@ -72,7 +72,7 @@ The following options are supported on any `Column` object passed to the `column
- Defaults to `false`
- If set to `true`, the underlying sorting direction will be inverted, but the UI will not.
- This may be useful in situations where positive and negative connotation is inverted, eg. a Golfing score where a lower score is considered more positive than a higher one.
- `sortType: String | Function`
- `sortType: String | Function(rowA: <Row>, rowB: <Row>, columnID: String, desc: Bool)`
- Used to compare 2 rows of data and order them correctly.
- If a **function** is passed, it must be **memoized**
- String options: `basic`, `datetime`, `alphanumeric`. Defaults to `alphanumeric`.
Expand Down

0 comments on commit d58cd13

Please sign in to comment.