Get Datatables cell value that is input text field
This renders just fine and I can modify the text in the input field in the cell.
Both colA/Bchange vars just have the ‘input type=”text” …’ html text, not the value of the input field. This does make sense, but I cannot find the right way to read the value of the input field.
If you just want to extract the values entered in the input boxes, you must go through jQuery or native DOM. dataTables itself is not aware of any changes made to form input fields, so trying to retrieve the values by
Will give you the current value of the various inputs. Have replicated your above scenario 100% in this fiddle -> http://jsfiddle.net/obmghyo7/
This is basically also how the official documentation suggests a way to extract values from form inputs -> https://datatables.net/examples/api/form.html
If you want to perform filtering / searches within the table, which also includes changes made by the user in form inputs, then it is a little more tricky -> JQuery Datatables search within input and select (mine, but I dont know any better answer)