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
55
ExcelExporter Cannot adjust column width in EndExport
posted

Hello All, I am fairly new to infragistics and am working on a web app that uses 2008 ultrawebgrid and excelexporter.  The problem is that when the sheet exports, most of the columns are sized appropriately but there is a column (comments) that is much to wide in the exported document.  I trap the endexport event and try to set currentworksheet.columns(19).width but this seems to have no effect.  I considered that it might be whitespace but I thoght the exporter would ignore whitespace.  At any rate I did an RTRIM on the SQL that populates that column and it had no effect.  Any help would be appreciated.