Hello all,
I am quiet new to jquery and bootstrap. I am trying to use the Kiaalap template I like it. The issue I have is that I have no ideia how to use jquery to update the data when I receive it from an ajax call (json).
I am trying to use:
var t = $(’#UserCardListTable’).DataTable();
t.rows.add(eval(data.Html)).draw();
t.clear().draw();
t.draw();
data.Html has the following format:
[[“val1”,val2"],[“val3”,“val4”]]
the html part is as follow
Col1 | col2 |
---|
Nothing happens. What I am missing?
Best regards,
Ricardo Oliveira