render columns from API response
render columns from API response
MoeYehya
Posts: 16Questions: 9Answers: 0
Hello! is there any proper example of how can we can render columns dynamically from the API response?
in my case i am sending an array of object containing needed columns in the response but how can we set it to the table.
This question has accepted answers - jump to:
Answers
Take a look at this thread.
Kevin
unfortunately all examples links are not accessible even this one http://live.datatables.net/huyexejo/1/edit
but yes my case is the same.
there is another way to access the solution?
I have checked it and fix my setup, Thank you so much!
any advices of how we can add buttons or give <a> tag to a specific column (in dynamic columns case)?
Use the
columns.render
option. See the manual for this information.Allan