TanStackT
TanStackโ€ข4y agoโ€ข
2 replies
naughty-peach

Row range select

Hi, I'd like to implement range select with shift + click, but I cannot find proper solution for this. There is possible way to modify this part with onChange function but I would like to use more cleaner way.
cell: ({ row }) => (
    <Checkbox
        checked={row.getIsSelected()}
        indeterminate={row.getIsSomeSelected()}
        onChange={row.getToggleSelectedHandler()}
    />
),

Is there anybody who implemented this? ๐Ÿ™‚
Was this page helpful?