Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

Undefined amount of image in a cell

$
0
0
Hello everybody,

I use Server side processing to fill my datatable. I would like yo konw how, depending of a state I send to the table, i can display more than one image.

I havn't tested yet but my guess is to send someting like that instead of a state.
"<img src='url' /><img src='url2' /><img src='url3' />"
And, in the init of my table, puting something like that:
"sName" : "STATE",
"fnRender" : function (oObj) {
   document.write(oObj.aData[index])
}

Please tell me if I'm wrong.
Thanks.

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>