Answer the question
In order to leave comments, you need to log in
How to pass data to table component?
There are several pages on which there is the same table, but differs on different pages only in columns.
That is, for example, on the first page, there is a column "Name", on the second column "Name", "Last Name".
Since the table is repeated, I decided to put it in a separate component, and already from the page component in the configs, transfer the column names to the table. That is, the table component will accept column names. But how to implement the display of the necessary columns, depending on what comes in?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question