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
385
Printing changed GroupByRow description and summaryFooterCaption
posted

Hi I have a problem. I have used code to alter each groupbyrow description and summaryfootercaption.

None of these changes are honoured when my grid is printed(uses default text). Can anyone help me?

 

Code used to change each GroupByRow summaryfootercaption:

For Each gRow As UltraGridGroupByRow In Me.MyGrid.Rows

gRow.Rows.SummaryValues.SummaryFooterCaption=Datatable1.Rows(gRow.Index).Item(1).ToString

 Next

Code used to change each GroupByRow description

 

For Each gRow As UltraGridGroupByRow In Me.MyGrid.Rows

gRow.Description = gRow.Rows(0).Cells(6).Value

Next