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
245
Show Header only once in excel
posted

When a grid is grouped by some column and exported to excel using UltraGridExcelExporter, how to show headers only once and also how to exclude empty rows?

Thanks,
Rajesh.

 

  • 469350
    Suggested Answer
    Offline posted

    Hi Rajesh,

    rajesh_m said:
    how to show headers only once

    I'm not sure there's any way to do this. The exporter currently does not honor the HeaderPlacement property in the grid. This is a feature we may add in the future, but right now, I'm not sure it's possible. Maybe you could achieve this by handling events of the UltraGridExcelExporting and cancelling some of the headers, but how it would be pretty tricky.

    rajesh_m said:
    also how to exclude empty rows?

    I'm not sure what this means. What empty rows are you referring to?