Get Free Trial

Set width to particular column

Anjali Changale asked on December 15, 2020

I want to set the width of particular column to the maximum content length in row.
I have tried this one-

report.tableSizes = {
            "columns": [
                    "idx": 0,
                    "width": w

But it doesn’t allow me to increase size beyond one fixed limit.
Can we fix it with any css? which can be applied to only one column not all.
Thank you!

1 answer

Vera Didenko Vera Didenko Flexmonster December 16, 2020

Hello, Anjali,
Thank you for reaching out to us.
We would like to kindly explain that the fixed limit can be adjusted with CSS, for example:  

#fm-pivot-view .fm-grid-column {
max-width: 1000px;

#fm-pivot-view .fm-grid-row {
max-height: 300px;

Our team kindly suggests increasing the fixed limit as needed using the above approach.
Afterward, applying the desired width to a specific column via tableSizes should work fine. 
Please let us know if this works.
Looking forward to your response.
Kind regards, 

Please login or Register to Submit Answer