Add links
Add links
LArmstrong85
Posts: 21Questions: 14Answers: 0
Hello,
is it possible to add links in determinate column of datatable?
How I can do it?
Thank you very much
This discussion has been closed.
Answers
If you mean into a cell of the table then yes it's possible. when you build your json array just add the relevant html to the field so for instance i did..
Ah you suggest to do it directly in Json... Can you give me an example here?
http://live.datatables.net/qisogeje/4/edit
Isn't possible to do it after with Jquery?
i cant really show you on that link as there isn't a place for json however this is a cut down version of what i have to respond to the ajax request from DataTables.
I'm not a programmer or anything so I'm still learning myself through a lot of trial and error :) I have no idea if it's possible to do it in Jquery sorry.
You can also use
columns.render
if you don't want to embed it into the JSON. There is an example on that page.Allan