Reputation: 6045
When i develop a Html table with static content .
Is there any work around How to apply BootStrap functionality to the table ? HIDE some columns for when the table is accessed from other devices ?
I am new to this framework which is really looks cool and better responsiveness .
I heard things like Bootstrap functionality can be easily applied to table just by using the CSS , is THAT TRUE ?
If so I dont know how it will make flexible just after applying css .
First look at my post itself it will be confusing becoz i am confused totally .
Regards
Upvotes: 0
Views: 311
Reputation: 1221
This isn't a bootstrap specific thing. It sound like you would need to set an id or class for the column(s) (TD tags in the table) you want to hide then use jQuery to say if there is a different device (mobile I assume) then hide the class or id.
You can see an example of this code at this JSFiddle
Hope this can get you started. Entire code is on the JS fiddle link
var isMobile = { Android: function() {
Upvotes: 2