Get current breakpoint responsive datatables.
Get current breakpoint responsive datatables.

Hi Allan,
I am using responsive datatables.
How can I get the current breakpoint (table, phone or desktop).
Thanks!
This discussion has been closed.
Hi Allan,
I am using responsive datatables.
How can I get the current breakpoint (table, phone or desktop).
Thanks!
Answers
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
Hi Allan,
I have case need to check that.
I have used $(window).width() instead.
It worked now.
Thanks!
BTW, DataTables is awesome.