How to arrange two TR together using your plugin?
i want two db row in one single datatable row
for example i want data like
id1 name1 id2 name2
id3 name3 id4 name4
id5 name5 id6 name6
To be honest, if this is the layout you need, make the server format the data in this order prior to sending it to DataTables.
That is unless there are specific reasons why the data cannot be formatted on the server, if so, please advise.
DataTables cannot be used in such a "grid" fashion. As radi8 says, you might be able to workaround it doing clever things on the server pre formatting into rows and columns, but that isn't a layout supported by DataTables.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.