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 wanted to ask if it is possible to use it when the columns are not known beforehand.
For example, if I want to parse a CSV file and render it as a table, how can I do that?
The column names are usually the first row of the CSV file followed by the data.
I am able to parse the CSV file and store the columns and the rows in a Context.
But when I try to render it, it just renders an empty box. No columns or rows.
However, this does not render anything. I just see an empty box like this:
All the demos, assume the columns are known beforehand e.g. this json demo. Is there an example of loading dynamic data where the columns are not known earlier?
I would really appreciate your help here! Thanks!
The text was updated successfully, but these errors were encountered:
Great work on this library! Thanks for your work!
I wanted to ask if it is possible to use it when the columns are not known beforehand.
For example, if I want to parse a CSV file and render it as a table, how can I do that?
The column names are usually the first row of the CSV file followed by the data.
I am able to parse the CSV file and store the columns and the rows in a
Context
.But when I try to render it, it just renders an empty box. No columns or rows.
My setup is like this:
App.tsx
looks like:And my
MyTable.tsx
looks like:However, this does not render anything. I just see an empty box like this:
All the demos, assume the columns are known beforehand e.g. this json demo. Is there an example of loading dynamic data where the columns are not known earlier?
I would really appreciate your help here! Thanks!
The text was updated successfully, but these errors were encountered: