ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Fluid Width Table
« previous
next »
Print
Pages: [
1
]
Author
Topic: Fluid Width Table (Read 2934 times)
sudo
Pro Deluxe
Newbie
Posts: 12
Fluid Width Table
«
on:
April 28, 2014, 11:00:28 pm »
So how does one go about setting a fluid width for a table.... the parameter for the width seems to be only in px. I need em or %. Also noticed this when the js generates the tables html:
<div id="study_table" class="pq-grid ui-widget ui-widget-content ui-corner-all ui-resizable" style="width: 1178px;">.......</div>
the width(width: 1178px;) is set for the table directly inline and not accessible?
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Fluid Width Table
«
Reply #1 on:
April 29, 2014, 10:14:18 am »
The width of a table can be set in %age. However you would need to refresh the grid upon resize of window/ grid's parent.
The width of grid can be accessed by
var wd= $grid.pqGrid("option" , "width");
or
var wd=$grid.width();
«
Last Edit: April 29, 2014, 10:17:25 am by paramquery
»
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Fluid Width Table
«
Reply #2 on:
May 28, 2014, 09:45:45 am »
Latest version i.e. 2.1.0 supports fluid tables
http://paramquery.com/pro/demos/fluid_window
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Fluid Width Table