How to add class & custom td contents (object data source)
How to add class & custom td contents (object data source)
nhattuanbl
Posts: 1Questions: 1Answers: 0
Someone help help me please.
My object:
var dataSet = [ ["1000", "1000_asd"], ["1001", "1001_qwe"], many row... ];
My Html:
<table class="table" ></table>
How i can display object to datatable look like this html:
<tr class="1000">
<td><img src="http://i.imgur.com/1000_asd_1.jpg" /></td>
<td><img src="http://i.imgur.com/1000_asd_2.jpg" /></td>
</tr>...
This discussion has been closed.