I want to be able to resize the entire table. Please advise
I want to be able to resize the entire table. Please advise
drfunk
Posts: 58Questions: 8Answers: 0
so right now when I resize the browser the table does not resize with it. I tried reducing the width but it does not do the trick.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
See if this example helps.
Kevin
I tried that I think but it is not working...
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
I don't see your
table
tag but the point of the example is to placestyle="width:100%"
on thetable
element itself. If you still need help please provide a link to your page or a test case showing the issue so we can help debug.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
thanks Kevin I am pretty new at this
any help would be appreciated
Ok I think I set it up:
http://live.datatables.net/toziyolo/1/
LMK
I made a page :
http://live.datatables.net/toziyolo/1/
not sure how to include the css & js
Yes I have that
<BODY>
<
div class="container">
<CENTER>
NMS Audit Log
<HR HEIGHT="15" >
</CENTER>
<
table id="ncs" class="display" width="100%">
The table is resizing with the browser. Please provide specific details of the problem you are seeing or what you want changed.
Kevin
Hi Kevin,
I am not seeing the resize when I make the browser window smaller it cuts off the search field and Previous 1 2 3 Next stuff at bottom right. also the table rows. I am using chrome is that an issue?
Sorry I didn't notice that your test case wasn't working properly. It isn't loading the JS and CSS files because of your local path. So none of the Datatables features were being loaded. See the updated example:
http://live.datatables.net/toziyolo/2/edit
Is this working the way you expect?
Kevin
wow thanks yea that works!!!