Posted 19 September 2021, 6:33 pm EST - Updated 3 October 2022, 10:43 pm EST
Hi,
This query is regarding wordwrap applied to single cell.
Consider a cell with wordwrap true and in the adjacent cell place an image cell.
Once you enter some long text and wordwrap applied, you observe the row size increasing larger than the text size. I suppose it is considering the adjacent image cell pixels and increasing the row height, even though Image cell word wrap is set to false.
I have tested the same scenario in Grapecity spread designer and it is working absolutely fine there. I would like to know what method is being used in designer to set wordwrap.
Here, in our application we are using GetPreferredRowHeight() to set wordwrap.
I also tried using Row.GetPreferredHeight() but still that doesnt work in our application.
Can you please let us know if we are missing something over here.
Attaching Images :
our application image:
Grapecity Spread image :