how to show image in code like this

how to show image in code like this

alfinlie00alfinlie00 Posts: 1Questions: 1Answers: 0

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

  • jLinuxjLinux Posts: 981Questions: 73Answers: 75

    Can you format your code please?..

    And i notice the dataSrc is there, but not specified...

    Format the code and ill take a look

This discussion has been closed.