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
955
Excel Exporter issue, headers formatting
posted

Hi!

i've an issue, in the UltraGrid exporter, the headers are exported but without format, i mean, the border bottom, left, right and top, has not borders.. anyone knows, how can i set the format for every header?..

Thanks in advance,

Alfredo Melo :D

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Alfredo,

    Could you please try the following code sample:

            private void ultraGridExcelExporter1_BeginExport(object sender, Infragistics.Win.UltraWinGrid.ExcelExport.BeginExportEventArgs e)
            {
                e.Layout.Bands[0].Columns[0].Header.Appearance.BorderColor = Color.Red;
            }
    

     

    Please feel free to let me know if I misunderstood you or if you have any other questions.

Children