From 0a515895a2b160ca51ad4c8459268fff25d96c40 Mon Sep 17 00:00:00 2001 From: Sylvain Lesage Date: Mon, 13 Jan 2025 15:39:22 +0100 Subject: [PATCH] fix name --- src/HighTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HighTable.tsx b/src/HighTable.tsx index cafabbf..53006c3 100644 --- a/src/HighTable.tsx +++ b/src/HighTable.tsx @@ -128,7 +128,7 @@ export default function HighTable({ * - data: the index of a row in the original (unsorted) data frame is referred as dataIndex. The mouse event callbacks receive this index. * - virtual table: the index of a row in the virtual table (sorted) is referred as tableIndex. The selection uses this index, and thus depends on the order. * startIndex lives in the table domain: it's the first virtual row to be rendered in HTML. - * data.rows(originalRowIndex, originalRowIndex + 1) is the same row as data.rows(tableIndex, tableIndex + 1, orderBy) + * data.rows(dataIndex, dataIndex + 1) is the same row as data.rows(tableIndex, tableIndex + 1, orderBy) */ const [state, dispatch] = useReducer(reducer, initialState)