Any way to get screen size and display data accordingly?
I am trying to show datatables in dashboard. The problem with it is it needs horizontal scrolling to see all the data from small screen or mobile devices.
So in Desktop i want to show all 5-6 columns.
But from mobile devices i want to show only 2 columns.
Is there any way to achieve this?