Dynamic Tabs

2 Answers 68 Views
TabStrip
Doug
Top achievements
Rank 2
Iron
Iron
Iron
Doug asked on 12 Oct 2023, 01:47 PM | edited on 12 Oct 2023, 01:47 PM
I would like to put some tabs into my <TabStrip> dynamically. Please refer to the attached graphic, lines 45-49 don't seem to be giving me output to the DOM.

2 Answers, 1 is accepted

Sort by
0
Doug
Top achievements
Rank 2
Iron
Iron
Iron
answered on 12 Oct 2023, 02:51 PM
0
Vessy
Telerik team
answered on 16 Oct 2023, 11:47 AM

Hello, Doug,

Thanks a lot for contacting us.

In order to be rendered, the dynamically created tabs in the `map` function have to be wrapped inside a return statement.

For convenience, I have created a sample demonstrating how to add dynamic tabs based on the setup from the provided image:

I hope this helps but let me know in case I can assist you any further on this matter.

Regards,
Vessy
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
TabStrip
Asked by
Doug
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Doug
Top achievements
Rank 2
Iron
Iron
Iron
Vessy
Telerik team
Share this question
or