How to display data in two rows instead of the default one row using JQuery Datatables?
How to display data in two rows instead of the default one row using JQuery Datatables?
Using datatable I am able to display all required information in a single row. Due to space constraints I wish to display one of the column (comment) under another column (name) in the same row
Current:
Row1 Column1 | Row1 column2 | Row1 column3
-----------------------------------------------
Row2 Column1 | Row2 column2 | Row2 column3
-----------------------------------------------
Row3 Column1 | Row3 column2 | Row3 column3
-----------------------------------------------
Required:
Row1 Column1 | Row1 column2
Row1 column3 |
-----------------------------------------------
Row2 Column1 | Row2 column2
Row2 column3 |
-----------------------------------------------
Row3 Column1 | Row3 column2
Row3 column3 |
-----------------------------------------------
Current:
Row1 Column1 | Row1 column2 | Row1 column3
-----------------------------------------------
Row2 Column1 | Row2 column2 | Row2 column3
-----------------------------------------------
Row3 Column1 | Row3 column2 | Row3 column3
-----------------------------------------------
Required:
Row1 Column1 | Row1 column2
Row1 column3 |
-----------------------------------------------
Row2 Column1 | Row2 column2
Row2 column3 |
-----------------------------------------------
Row3 Column1 | Row3 column2
Row3 column3 |
-----------------------------------------------
This discussion has been closed.
Replies
This is the stackoverflow thread please help