Hi,
it’s possible to load directly from DB (JSON) an image into datatable? The image is stored into db table as image type…
Yep, you can use base64 encoding for image data and on client side use a template which will place the base64 encoded data as image source.
Thanks, can you leave me an example for the template?
It should be something like this:
columns:[
{id:"image", header:"Image", fillspace:true, template:function(obj){
return "<img src='<--!base64 image from data-->'/>"
}}
]