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
505
Exported Grid to excel doesn't layout the header rows height correct
posted

Hi there,

we are using the ExcelExporter engine to export our grid into an excel file.

Everything works fine except the layouting for the exported header row (I mean the column headers ;) ). It doesn't set its height correct to show the complete text content!

All other rows will increase their height automatically if its content need more space than the column width can provide. But not so the row for the header.

Currently we set the WrapText property of the CellFormat property to True (also for the header cells) to enable the increasing of the rows height inside the table.

If we set it to False it seems working correct because the rows doesn't increased their height and don't shows the complete cell content.

WordWrap property it self seems also to work correct as you can see inside the pictures, e.g.. in column 'Problem'. 

Any idea why the row for the column header doesn't increase their height or how we can increase it manually?

Here is the header row with WordWrap = False:

Here is the header row with WordWrap = True: