Skip to content

Commit 140ca06

Browse files
gargrohtannerlinsley
authored andcommitted
1 parent 8277bfd commit 140ca06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/useSortBy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The following options are supported on any `Column` object passed to the `column
7272
- Defaults to `false`
7373
- If set to `true`, the underlying sorting direction will be inverted, but the UI will not.
7474
- 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.
75-
- `sortType: String | Function`
75+
- `sortType: String | Function(rowA: <Row>, rowB: <Row>, columnID: String, desc: Bool)`
7676
- Used to compare 2 rows of data and order them correctly.
7777
- If a **function** is passed, it must be **memoized**
7878
- String options: `basic`, `datetime`, `alphanumeric`. Defaults to `alphanumeric`.

0 commit comments

Comments
 (0)