I am new to data tables and never created a responsive data tables. So i may be asking much help.
Here is link for JQuery data tables editables. I want to create it responsive. First thing i did i removed its container width now its resizing to tablet size screen and looks ok.
#fw_container {
margin: 0 auto;
max-width: 90%;
padding-top: 2em;
}
.full_width {
width: 90%;
}
But on the screen size below than that tables are messing up.
I want data table to work like this.
I can't give you my site link where i have actually implemented because its in site admin panel.
Any thoughts/helpful links or direction will be helpful to me. Thanks a lot!
In responsive design most of the tricks done by percentage values until a certain point and after that we start using @media queries.
For your example just percentages used for the th and td tag I belive you can manage it but if it is smaller than 40em then completely different CSS take control like below;
hope this help this is just give some start;
here your fish mate :) just use developer tool bar and add the code under the h2 Live Example tag;
As far as I can tell the edit and add stuffs are working as this is completely css just you have to dig deeper.