Relative Content

Tag Archive for reactjstypescriptnext.jstanstack-table

how to implement default checked rows to data table (tanstack and shadcn)?

I’m using data table component from shadcn https://ui.shadcn.com/docs/components/data-table which has tanstack table component. I have two types of data. First one is let’s say all data, second one is checked data. I get both data from backend and I want that my data table finds those checked data from all data and shows them as checked already.