I am trying to export a grid with different row heights.
I have AutoSizeRows = true.
On the apps screen the grid looks great. :)
But when I export it I get an error:
rowHeight should be greater or equal than 0 and less or equal than 600.
spreadExporter.CellFormatting += spreadExporter_CellFormatting;
I have a spreadExporter_CellFormatting function and had:
if (e.GridCellInfo.RowInfo.Height > 600)
{
e.GridCellInfo.RowInfo.Height = 600;
};
But it didnt stop the error happening.
Question, how do I check for the Row height value and set it before/during the export?
Thanks
Deasun.