How to assign row heights in a grid?

There are two ways to assign row heights in a ParamQuery grid: via the API or the UI.

API

If you want to assign a fixed height to a specific row, you can use the pq_ht property of the corresponding row data. Note that this only works if the rows don't auto-expand based on their content, which is controlled by the autoRow option. To ensure that pq_ht is applied regardless of the autoRow value, you should also set the pq_htfix property to true for the row.

UI

To change the height of a row via the UI, simply drag the bottom edge of the number cell corresponding to that row using a mouse or pointer device. Double-clicking on the bottom edge of a number cell will reset the row height to auto, meaning that the height will adjust automatically based on the content in that row.

If you want to disable the ability to change row heights via the UI, you can set the rowResize option to false.