From 05d946ecfbe3129a1effe6ed681f4709fdf527a2 Mon Sep 17 00:00:00 2001 From: gargroh <42495927+gargroh@users.noreply.github.com> Date: Sat, 15 Feb 2020 00:45:30 +0530 Subject: [PATCH] Following columnId instaed of columnID (#1848) --- docs/api/useSortBy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/useSortBy.md b/docs/api/useSortBy.md index 6fecac7..1cee88d 100644 --- a/docs/api/useSortBy.md +++ b/docs/api/useSortBy.md @@ -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(rowA: , rowB: , columnID: String, desc: Bool)` +- `sortType: String | Function(rowA: , rowB: , 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`.