How to handle 'extra' data coming from server?

How to handle 'extra' data coming from server?

kmansoorkmansoor Posts: 11Questions: 6Answers: 0

I have an ajax-sourced client-side processed table. The table is displaying 2 columns, say name, description. However the server also sends the 'id' in the json response. I would like to tag that 'id' on the <tr>, something like the following:

<tr data-entity-id="???"><td>name</td><td>description</td></tr>

How can I handle this? I understand a callback of some sort has to be used, but not sure.
Thanks.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.