Make dataTable fit to mobile display

Make dataTable fit to mobile display

ashibahl007ashibahl007 Posts: 22Questions: 4Answers: 0
edited May 2017 in Free community support

I have a dataTable below :

http://debug.datatables.net/ulatup

I need this dataTable to fit to mobile.

In mobileView, it looks like this : (stpp.png)

And I want it not to be scrolled and look somewhat like this : (New_Stoppafe.png)

Please guide me Allan as to how can I achieve this.

Regards,
Ashish

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,891Questions: 1Answers: 10,530 Site admin

    Can you give me a link to the page showing the issue please? I don't see anything that is obviously wrong in the setup shown by the debugger.

    Allan

  • ashibahl007ashibahl007 Posts: 22Questions: 4Answers: 0

    I hope this fiddle helps out :https://jsfiddle.net/nyu7weep/

  • allanallan Posts: 63,891Questions: 1Answers: 10,530 Site admin
    Answer ✓

    Thanks. The example didn't include the Responsive libraries. When I add them in it works okay.

    Worth noting that performance is going to be really poor since paging is disabled.

    Allan

This discussion has been closed.