Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82134

How to display data in two rows instead of the default one row using JQuery Datatables?

$
0
0
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 |
-----------------------------------------------

Viewing all articles
Browse latest Browse all 82134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>