From fdce96735696d670ede78417cc584d61018896e8 Mon Sep 17 00:00:00 2001 From: SMU Date: Thu, 8 Feb 2024 18:22:56 +0100 Subject: [PATCH] Clarify that getIsSomeRowsSelected return false if all rows are selected Discussion about this problem here https://github.com/TanStack/table/discussions/4780 --- docs/api/features/row-selection.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/features/row-selection.md b/docs/api/features/row-selection.md index d8874b7048..9d3f8b916f 100644 --- a/docs/api/features/row-selection.md +++ b/docs/api/features/row-selection.md @@ -113,6 +113,8 @@ getIsSomeRowsSelected: () => boolean Returns whether or not any rows in the table are selected. +NOTE: Returns `false` if all rows are selected. + ### `getIsSomePageRowsSelected` ```tsx