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 PandaSrujan 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

Answers

  • kthorngrenkthorngren Posts: 21,300Questions: 26Answers: 4,945
    Answer ✓

    You would use columns.render to render your HTML into the cell. The docs have a couple examples.

    Kevin

  • Srujan PandaSrujan Panda Posts: 2Questions: 1Answers: 0
    edited March 2018

    Hi Kevin,

    Thanks for the answer. This worked for me.

This discussion has been closed.