How can we have responsive tabs and single column with multiple rows using datatables?

How can we have responsive tabs and single column with multiple rows using datatables?

Lakshmi SLakshmi S Posts: 5Questions: 3Answers: 0

I want to have 2 tabs which should be responsive. I want a table which should contain single column and multiple rows. I'm a newbee to datatables.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,545Questions: 26Answers: 4,818
    edited January 2019 Answer ✓

    Making your tabs responsive is up to the tabs library (Bootstrap, jQuery UI) you are using and is not controlled by Datatables. However you can use the Responsive Extension to allow Datatables to provide a responsive table.

    Here is an example of Responsive Datatables inside non-responsive Bootstrap tabs:
    http://live.datatables.net/yicovile/2/edit

    Hope this helps you get started. Please post any questions.

    Kevin

  • Lakshmi SLakshmi S Posts: 5Questions: 3Answers: 0
    edited January 2019

    Thanks.. Will try and let you know

This discussion has been closed.