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
1803
Resize columns while printing or exporting to excel
posted

hi all ,

  i have the grid wherein the data is displayed with columns set to resizeall columns to fit the screen .

 but when i export or print the grid i want the column sizes  to be fitting to the data in the columns. is there a way to do this directly

thanks a lot

Parents
  • 55
    posted

    Hey i have almost same problem like you.

    I want to wrap the text in cell

    for that i set below code in ultragrid_InitializeRow event

    e.Row.Band.Layout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.AutoFree

     but still it dint work.

    can you pls suggest me wht i hav to do

    thanks in advance 

     

     

     

     

Reply Children
No Data