I'm using Datatable to display data and charge a table using an AJAX call to a file stored in a JSON object.
I need that one of columns be a text with a link that opens a modal window.
"columns": [
{ 'data': 'BATCH'},
{ 'data': 'DATE'},
{ 'data': 'STARTTIME'},
{ 'data': 'FINISHTIME'},
{ 'data': 'STATUS'},
]
For example, colum Batch is loaded from JSON file, and I want to be a link that opens a modal window.
Please, where do I write the link, in the JSON, when to load the DataTable, or with the API DataTable?
Thank you.
Regards,
Aucun commentaire:
Enregistrer un commentaire