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

Modal to display 2 rows

$
0
0

Hello, I have been using DataTables for a while now and is fantastic but have a query which I am unable to resolve. My data is in pairs (odd + even) in a repeating pattern. Using a responsive table, the modal shows whatever column you click (eg, row 1) but I would like to show the pair (1+2 or 3+4, 5+6 etc). If the odd row is clicked it shows the even number following also and if the even row is clicked it shows the previous odd row in the modal.

Is this possible to achieve?

Thanks in advance.


Viewing all articles
Browse latest Browse all 82018

Trending Articles



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