Using row.add(…) on datatable, I find it using ajax call to refresh when I cause draw(), so I never see the new row, since it reloads the data from database.
The underlying UX logic is as follows: Table contains data editable through inputs. Inputs validate in change and if all the inputs inside the row contain valid data, submit new data to the back end, then reload from the database after server reports success. User wants to add a new row. Valid data cannot be generated and null values are not allowed, so a new empty row is created and as soon as all the inputs have valid data, it is submitted to the back end in the same manner.
Question: how to add row to datatable without triggering ajax.reload()?