Column text wrap

Answered
loveena asked on April 3, 2023

when you shrink the columns the texts doesnt wrap properly. Can we please update the reporting to reflect the proper text wrapping.
 

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster April 4, 2023

Hello, 

Thank you for reaching out to us.

Kindly note that we do not recommend using multiline in Flexmonster. There are two possible approaches to displaying text correctly:

  1. Set all the cells heights via CSS:
    #fm-pivot-view .fm-grid-row,
    #fm-pivot-view .fm-grid-row-mobile {
       min-height: 40px;
       max-height: 120px;
       height: 65px !important;
    }
  2. Overwrite the first row's height using TableSizesObject:
    tableSizes: {
    rows: [{
    height: 40,
    idx: 0
    }]
    }

You can see the example on the following JSFiddle: https://jsfiddle.net/flexmonster/tf7mrw9p/

Hope you will find our answer helpful.

Regards,
Nadia

Please login or Register to Submit Answer