ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: inafking on January 28, 2016, 06:09:15 pm
-
Hi. First of all, thanks for all the help you have given to me.
As usual, I've another question but now is whether it's a supported feature or not (or if there's a workaround) for the 2.0.4 version of the grid.
I'd like to know if you can change the row height or make the rows evenly spaces when setting the grid height.
I hope you can help me with this.
Thanks in advance.
Greets!
EDIT: Don't mind, I figured it out. I modified the css which holds the value for the tr.pq-grid-row style.
-
yes the row height can be changed in 2 ways:
1) By default the content in cells wrap and rows expand in height to show all content. The rows can be evenly spaced by setting wrap option to false, wrap: false, the overflowing text is clipped.
2) The default row height can be changed by modifying the padding of cells.
.pq-grid-cell > .pq-td-div{
padding: 10px;
}
There is also a way to set max-height of cells:
.pq-grid-cell > .pq-td-div{
max-height: 50px;
}