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
570
How to export (excel, PDF) display text for columns with a controlContainerEditor
posted

Hey,

When exporting data to Excel or PDF, if the control editor is ControlContainerEditor we see the underline data in excel and not the display text (RenderingControl).

How can we export the RenderingControl display text and not the cell value?

Thanks,

Mano

Parents
  • 48586
    posted

    Hello,

     

    What could you do in this case is to handle CellExported event of UltraGridExcelExporter and to change the value of the exported cell directly in the worksheet with code like:

     

    e.CurrentWorksheet.Rows[e.CurrentRowIndex].Cells[e.CurrentColumnIndex].Value = e.GridRow.Cells[e.GridColumn.Key].Text;

     

    please let me know if you have any further questions.

Reply Children
No Data