Can I immediately have DT refresh after an inline edit of a cell?
Can I immediately have DT refresh after an inline edit of a cell?
boicenet
Posts: 47Questions: 12Answers: 1
I have inline editing enabled. When I change the value of a cell can I force the DataTable to immediately refresh without the user having to click on a different row? For example, the editable cell on the DT is a YES/NO dropdown list. When a user changes the value from YES to NO, I'd like the DT to immediately refresh. -Thank you.
This discussion has been closed.
Answers
I haven't used a dropdown with inline editing but have used checkboxes. For the checkboxes to immediately update their columns need to be excluded from inline editing. Maybe the same technique will work with dropdowns.
Kevin
Kevin, thank you for the suggestion. I'll give that a try.
The other way to do this is to attach a click or change event listener to the
input
elements (field().input()
) which will call thesubmit()
method.Allan