Hello Alessio,
Thank you for writing.
The provided code snippet for calculating the cell's width uses the ColumnInfo.
Width property. However, when using
HtmlViewDefinition the column's width must be taken from the
RowLayout. That is why if the cell's
ColSpan property is greater than 1, the calculation won't be correct in the previously suggested code snippet. Please refer to the following modified code snippet:
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik by Progress