Skip to content

Commit

Permalink
docs: fix empty data table when the email column is hidden (#1133)
Browse files Browse the repository at this point in the history
Co-authored-by: Gary Bruce <[email protected]>
  • Loading branch information
brucegl and Gary Bruce authored Jun 14, 2024
1 parent 6a17808 commit fa57db3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/www/src/content/components/data-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ Next, we'll enable the `addSelectedRows` plugin and import the `<Checkbox />` co
page: addPagination(),
sort: addSortBy({ disableMultiSort: true }),
filter: addTableFilter({
includeHiddenColumns: true,
fn: ({ filterValue, value }) => value.includes(filterValue),
}),
hide: addHiddenColumns(),
Expand Down

0 comments on commit fa57db3

Please sign in to comment.