ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: xin on May 10, 2016, 11:47:11 pm

Title: How to get row height and cell height
Post by: xin 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.
Title: Re: How to get row height and cell height
Post by: paramvir 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.