flexmonster change column width

Answered
LCA asked on July 20, 2023

I need to change the width of a column in a particular column of the flexmonster library for reactjs. I have tried several ways but I have not had any luck, if you could tell me how to do it, it would be of great help

I will be attentive to your comments, thank you

2 answers

Public
LCA July 21, 2023

Hi
  Could you please assist me on the below request
  Thanks

Public
Maksym Diachenko Maksym Diachenko Flexmonster July 24, 2023

Hello,

Thank you for writing to us.

Flexmonster's columns width can be easily adjusted through the report.tableSizes object. Here is an example of the first column's width changed to 200:

"tableSizes": {
    "columns": [{ 
        "idx": 0,
        "width": 200,
    }]
}

Also, the columns can be resized from the UI by dragging the borders of the grid's numeric headers area.

Hope you will find this answer helpful.

Best Regards,
Maksym

Please login or Register to Submit Answer