From 6ca6bd9287982a9612b4448ac949afdc83dcb551 Mon Sep 17 00:00:00 2001 From: Gary Bruce Date: Mon, 10 Jun 2024 10:28:40 +0100 Subject: [PATCH] fix empty data table --- apps/www/src/content/components/data-table.md | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/www/src/content/components/data-table.md b/apps/www/src/content/components/data-table.md index 8d12387cf..295d24897 100644 --- a/apps/www/src/content/components/data-table.md +++ b/apps/www/src/content/components/data-table.md @@ -1248,6 +1248,7 @@ Next, we'll enable the `addSelectedRows` plugin and import the `` co page: addPagination(), sort: addSortBy({ disableMultiSort: true }), filter: addTableFilter({ + includeHiddenColumns: true, fn: ({ filterValue, value }) => value.includes(filterValue), }), hide: addHiddenColumns(),