Expand my Community achievements bar.

SOLVED

How can we make a form which will show data saved in draft table as table form?

Avatar

Level 3

How can we make a form which will show data saved in draft table and make it edit able by adding edit button in each row and the form must be prefilled when he clicks on edit and click on submit button to submit in final table and if clicks on save then update the draft table 

i have created all the apis in servlet but stuck with ui part.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Creating a UI that displays data from a draft table, allows editing, and then either submitting it to a final table or saving it back to the draft table involves a combination of HTML, JavaScript, and potentially CSS.

 

If you are not well versed in these technologies, I recommend checking one of the tons of plugins available for JS that accomplish what you are looking for. Here is a couple of them:

 

https://www.javatpoint.com/javascript-editable-table

https://www.codemag.com/article/1511031/CRUD-in-HTML-JavaScript-and-jQuery

https://codepen.io/demartini/pen/EJvgPa

https://github.com/editor-js/table 

 

Hope this helps



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Creating a UI that displays data from a draft table, allows editing, and then either submitting it to a final table or saving it back to the draft table involves a combination of HTML, JavaScript, and potentially CSS.

 

If you are not well versed in these technologies, I recommend checking one of the tons of plugins available for JS that accomplish what you are looking for. Here is a couple of them:

 

https://www.javatpoint.com/javascript-editable-table

https://www.codemag.com/article/1511031/CRUD-in-HTML-JavaScript-and-jQuery

https://codepen.io/demartini/pen/EJvgPa

https://github.com/editor-js/table 

 

Hope this helps



Esteban Bustamante