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
»
How to get row height and cell height
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to get row height and cell height (Read 2435 times)
xin
Pro Enterprise
Newbie
Posts: 14
How to get row height and cell height
«
on:
May 10, 2016, 11:47:11 pm »
I am trying to do some customization. How could I get height of particular row or cell in a grids?
Thanks.
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: How to get row height and cell height
«
Reply #1 on:
May 11, 2016, 10:04:58 am »
Row/cell height can be calculated as $tr.outerHeight() or $tr[0].offsetHeight
$tr, $td can be obtained by API
http://paramquery.com/pro/api#method-getRow
http://paramquery.com/pro/api#method-getCell
Note: height of rows/cells not rendered in the viewport can't be calculated.
«
Last Edit: May 11, 2016, 10:23:20 am by paramquery
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
How to get row height and cell height