You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a table with different types of inputs, ex. text, checkbox, date picker, multi-select...etc.
I want to save a copy of all filter values to a state object (probably with useState), and get updated filter values whenever users change the values.
Eventually, I want to store these values in an online database, and initialise the table with the stored values when users logs in to the website.
I tried:
tableInstanceRef.current.getState().columnFilters
only able to get initialState.
Filter: ({ column }) => {let value = column.getFilterValue();}
not all inputs are written with Filter Component, so can't get all values.
manualFiltering: can't get default stylings for the inputs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a table with different types of inputs, ex. text, checkbox, date picker, multi-select...etc.
I want to save a copy of all filter values to a state object (probably with useState), and get updated filter values whenever users change the values.
Eventually, I want to store these values in an online database, and initialise the table with the stored values when users logs in to the website.
I tried:
Please help me!
Beta Was this translation helpful? Give feedback.
All reactions