Update input values inside responsive table
Update input values inside responsive table
![Miky](https://datatables.net/forums/uploads/userpics/131/n1L3BVHLIQXE6.jpg)
I've a datable with responsive active.
Inside a column i've an input field. When i change it, it update automatically 1 or more input fields inside others column.
Now if i've a large screen and responsive is not active, all works ok.
But if i've a small screen and responsive is triggered, i've problem: input field OUTSIDE the screen are losing it's value.
Any one with the same issue, please help.
Answers
How are you doing this? Can you build a simple test case showing what you are doing so we can help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
If you are using jQuery or Javascript methods to update the cells then the cells hidden by responsive won't be found with the same selectors. Maybe use
cell().node()
to update the cells.Kevin
Also, make sure you are using the
listHiddenNodes
renderer, so the elements are moved around rather than cloned (which would loose the value).Failing that, then, as Kevin says (and the forum rules state), we'd need a test case showing the issue.
Allan