Multiple DataTables on one page? #5392
-
I have some code that pulls data from CSV files and puts them in DataTables. I am wondering how I can have multiple DataTables with content pulled from different CSV files. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You can create as many data tables as you wish. If you have it working did one, you can do the same thing for a second data table. |
Beta Was this translation helpful? Give feedback.
-
How do I tell each data table which set to display if I have multiple data sets? |
Beta Was this translation helpful? Give feedback.
-
The tables currently display side by side, with no spacing. |
Beta Was this translation helpful? Give feedback.
You can give your data tables a unique
id
.https://textual.textualize.io/guide/CSS/#id-selector
https://textual.textualize.io/guide/queries/#query-one