Get current breakpoint responsive datatables.
Get current breakpoint responsive datatables.
Luan Vu
Posts: 2Questions: 1Answers: 0
Hi Allan,
I am using responsive datatables.
How can I get the current breakpoint (table, phone or desktop).
Thanks!
This discussion has been closed.
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.