How do you make a row link to url?
How do you make a row link to url?
I am using DataTables for the first time. Love the modern look and all out of the box features. Amazing stuff.
I am using the basic "Ajax data source (arrays)" example: www.datatables.net/examples/ajax/simple.html to learn with . I am trying to figure out how to make the each row clickable and leading to different urls. I have searched and tried quite a few different methods with no luck.
Can anyone suggest an easy way to do this? Being a beginner to java I am struggling to implement this what I assume to be pretty easy task.
Thanks,
This question has accepted answers - jump to:
Answers
try this page
https://datatables.net/reference/option/columns.render
Use as a function to create a link from the data source: