How to arrange two TR together using your plugin?
How to arrange two TR together using your plugin?
patelasif60
Posts: 1Questions: 1Answers: 0
Good Day
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
This discussion has been closed.
Answers
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.
Allan