how to show image in code like this
how to show image in code like this
here is my code
$('#infrastructureToDoListDetail').DataTable( {
ajax: {
url: 'getInfrastructureToDoListData',
dataSrc: ''
},
columns: [
{ data: 'SUBJECT' },
{ data: 'DATE_TIME' },
{ data: 'PERCENTAGE_PROGRESS' },
{ data: 'DESCRIPTION' },
{ data: ''} // image here
]
} );
i want to show image on datatables column, can someone help me? thank you
Answers
Can you format your code please?..
And i notice the
dataSrc
is there, but not specified...Format the code and ill take a look