How do I create an editable table on a web page?
I need to organize a web page to which data is loaded into a table from the database and where I can change them. I am writing simple scripts in python. I was able to organize the output of a data table from a sqlite3 database to a page created using Flask. I don't understand how to organize the addition of new rows to the database by conventionally clicking on the "+" sign in the table.Python Jackson Haynes, May 6, 2020
pressing + creates an object that you fill with data
send the command POST / api / users to the server
each time you navigate to a new column, call PATCH / api / usersAnonymous
How can I help you? Take Django and its tutorial and go for it. Throw Flask into a corner until you learn to program.Alexandra Saunders
By clicking on + using JS, add tr and td to the page, inside the field cells as in the form, then when you click the Save button, the data from this form is sent to the database. What is the problem then?Anonymous
https://www.datatables.net/ I think this is what you needAnonymous
To place the code, please use CodePen or similar tool. Thanks you!