Question: Submit ALL rows in data table with text inputs

Question

Submit ALL rows in data table with text inputs

Answers 2
Added at 2017-01-04 10:01
Tags
Question

I have a Datatable that has a series of text inputs in each table row, but I need to submit data from all pages as I am using a fairly large data set and not using paging isn't an option.

I have seen a few fixes for this regarding checkbox inputs but I didnt want to add a checkbox on each row to click if the row had been edited I just want to submit all data that had been entered.

Answers
nr: #1 dodano: 2017-01-04 10:01

You can use jQuery events such as 'change ,keyup ,onblur' to trigger for the series of text boxes or check boxes ,provide code snippet to clear your doubt.

nr: #2 dodano: 2017-01-05 09:01

Look at this example in the DataTable website. https://datatables.net/examples/api/form.html

Source Show
◀ Wstecz