Display Picture

Display Picture

vietnguyenvietnguyen Posts: 2Questions: 0Answers: 0

I can't display image, pls help

google.script.run.withSuccessHandler(dataTable).getData() function dataTable(data){ $('#example').DataTable({ data:data, searching:false, destroy:true, columns: [ {'title': 'ID'}, {'title': 'NỘI DUNG'}, {'title': 'GHI CHÚ'}, {'title': 'HÌNH ẢNH', render: function (data, type, row, meta) { if (type === "display") { data =' image'; } return data; }, }, ] }); }

Replies

  • vietnguyenvietnguyen Posts: 2Questions: 0Answers: 0

  • allanallan Posts: 56,444Questions: 1Answers: 8,957 Site admin

    Can you show me what your data array contains when populating the table please?

    Even better, if you could give me a link to a page showing the issue I'll be able to diagnose it directly.

    Allan

Sign In or Register to comment.