Author Topic: Column titles and rows height  (Read 4969 times)

przemek

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 25
    • View Profile
Column titles and rows height
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Column titles and rows height
« Reply #1 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


przemek

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Column titles and rows height
« Reply #2 on: March 05, 2014, 07:06:00 pm »
virtualX solved my problem, thanks and have a nice day