V
V
Vadim V2020-08-01 15:23:09
React
Vadim V, 2020-08-01 15:23:09

Is it possible to do something similar in react-table?

Hello everyone, I need help. Who used react-table in their work. Is it possible to make such a table using this library 5f255c317c19b996708062.jpeg. The difficulty is that each column can have a different number of rows, depending on the data... That is, it will not be a simple array of objects, perhaps there will be some kind of nested data inside the objects... You need to understand how to form such data, but It is important to understand whether it is even possible to do something like this. If someone has an example of a similar form I will be very grateful. I couldn't find anything similar in the library examples.
And another question, if I use redux and filtering, I do it somewhere in selectors or in reducers, is it better to filter the data before entering the table (if the filters are outside the table) or does it make sense to use the filters of the library itself? But then how can they be used outside the table?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question