How to display data in grid in custom controls (other than free text)
How to display data in grid in custom controls (other than free text)
Srujan Panda
Posts: 2Questions: 1Answers: 0
Hi all,
I gotta situation where I need to display the data in tabular format in which data in one column needs to be displayed in textboxes and the other in dropdown list and the data comes through ajax call.
It is similar to the following.
https://datatables.net/examples/api/form.html
But the data in my case comes from database through ajax call.
Can someone please explain this.
Thanks in advance
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You would use
columns.render
to render your HTML into the cell. The docs have a couple examples.Kevin
Hi Kevin,
Thanks for the answer. This worked for me.