Get current breakpoint responsive datatables.

Get current breakpoint responsive datatables.

Luan VuLuan Vu Posts: 2Questions: 1Answers: 0

Hi Allan,
I am using responsive datatables.
How can I get the current breakpoint (table, phone or desktop).

Thanks!

Answers

  • allanallan Posts: 63,677Questions: 1Answers: 10,497 Site admin

    There is no public API for this at the moment. First request for that information I think!

    What would you need it for?

    I don't see a problem adding an API method for it, but just not sure how useful it would be!

    Allan

  • Luan VuLuan Vu Posts: 2Questions: 1Answers: 0

    Hi Allan,
    I have case need to check that.
    I have used $(window).width() instead.
    It worked now.
    Thanks!

    BTW, DataTables is awesome.

This discussion has been closed.