how to set auto width and height for all browser and all kind of monitor in datatable jquery

how to set auto width and height for  all browser and all kind of monitor  in datatable jquery
LVL 20
Sathish David  Kumar NArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
If you use vh and vw for units of measure it will adjust to the size of the viewport.  It will be a big mess, but vague unfocused question generally end up in a mess anyway.

Ask a specific question and define the target browsers and devices and you might have a chance of getting an answer.  As for something for "all browser and all kind of monitor"; if you find such a universal magic wand let me know because it would be worth a billion dollars.

Cd&

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rainer JeschorCommented:
Hi,
adjusting sizes (as well as locations) depending on the viewport is in general called responsive design.
For DataTables there is an extension called "Responsive", perhaps this may help you:
https://datatables.net/extensions/responsive/

HTH
Rainer
Sathish David Kumar NArchitectAuthor Commented:
thanks Rainer ,

Is i want to use CSS ?? mention in the example link
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.