How to arrange two TR together using your plugin?

How to arrange two TR together using your plugin?

patelasif60patelasif60 Posts: 1Questions: 1Answers: 0
edited May 2014 in DataTables

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

Answers

  • radi8radi8 Posts: 31Questions: 6Answers: 0

    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.

  • allanallan Posts: 63,678Questions: 1Answers: 10,498 Site admin

    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

This discussion has been closed.