Last selected row state in ColumnDef #4276
Unanswered
senbonsakura
asked this question in
General
Replies: 1 comment
-
I wrote something like this: createSelectColumn.tsx
and the way I use it is to call it when I'm defining the table column:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a plug-in ColumnDef for shift+click selecting multiple rows. I couldn't find any proper way to hold last selected row state in the api. As this is not a proper react component I can't use state. To hack this I pushed last clicked column into column meta. But this is not the intended way column meta is used. Is there any better method that I can use?
Beta Was this translation helpful? Give feedback.
All reactions