How to add dynamic rows on client side using Javascript for Thymeleaf templates

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to add dynamic rows on client side using Javascript for Thymeleaf templates

gbvikas@gmail.com
I have developed a spring boot app with thymeleaf template having dynamic fields(option to add and delete rows). Everything is working fine. Is is possible to add and delete rows without submitting to the controller everytime?

I searched the below links but none of them are clear:

Add row to a table populated by thymeleaf

Dynamically Add table Row and binding to Server Side in spring MVC

Dynamically creating buttons in thymeleaf table
Loading...