ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: przemek on March 05, 2014, 02:50:05 pm

Title: Column titles and rows height
Post by: przemek on March 05, 2014, 02:50:05 pm
Hello,

How can i freeze column's title height?

I don't like that when i have 20 columns and for example last column has title in three rows (because title is long and column witdh is short) height of columns title bar is changing when i'm scrolling to the end.

I would like to have the same height of columns title row and content rows depended on heighest cell.

You can see the example of horizontal scrolling and changing rows height here: http://bobpl.alwaysdata.net/scripts/pq/test.html

Best regards,
Przemek
Title: Re: Column titles and rows height
Post by: paramvir on March 05, 2014, 04:46:37 pm
You can set virtualX to false if you want to set height of all cells equal to that of the highest one.

http://paramquery.com/pro/api#option-virtualX

or

wrap:false and hwrap:false if you want the content to appear on a single line
http://paramquery.com/pro/api#option-hwrap
http://paramquery.com/pro/api#option-wrap

Title: Re: Column titles and rows height
Post by: przemek on March 05, 2014, 07:06:00 pm
virtualX solved my problem, thanks and have a nice day