Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
Individually resize DataRecord height
posted

Hi,

I have records where one of my field can display until 5 lines of text. If my text is longer than 5 lines, I would like to change the height of my cell to display only the two first lines. FieldLayoutSettings has DataRecordSizingMode set to SizeToContentAndFixed.

My problem is if I change the CellMaxHeight (CellHeight doesn't seem to work) for one record, the change is done for all the others.

I have seen if I set the DataRecordSizingMode to SizeToContentAndIndividuallySizable that we can resize the height of an individual record with the mouse, but is it possible to do it programmatically.

 Thanks,