I am facing an issue with setting the row height in PQGrid. Despite multiple attempts, the grid continues to render rows with a height that differs from my defined settings.
Details:
- I have set autoRow: false in the grid configuration and attempted to manually set the row height using both CSS and JavaScript.
- With autoRow: false, the maximum row height I observe is 27px, which is smaller than my desired height of 36px.
- I’ve also tried using autoRow: true, but with this setting, the smallest row height observed is 39px, which is larger than my desired row height of 36px.
- I have used various CSS and JavaScript methods to control the row height, but none seem to take effect as expected.
Here are the steps I have done:
- Set autoRow: false and tried using rowHeight in the grid configuration.
- Added the following CSS rule to control row height: .pq-grid-row { height: 36px !important; } This rule does not seem to apply, and the grid still displays rows with a maximum height of 27px.
- I also tried using the following CSS, based on a suggestion in another support item: .pq-no-wrap > .pq-grid-row > .pq-grid-cell, .pq-no-wrap > .pq-grid-row > .pq-grid-col > .pq-td-div { word-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0px; height: 36px; } However, this CSS also had no effect on the row height.
- Additionally, I tried using jQuery to manually adjust the height after the grid rendered: $(".pq-grid-row").css("height", "36px"); Despite these efforts, the grid still renders row heights of 27px with autoRow: false
I need to set the row height to specific value, and I would like guidance on how to achieve this, whether through the configuration, CSS, or JavaScript.
Could you please advise on how to set the row height?
Thank you in advance for your assistance!
Best regards,
Mark