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
155
Some queries regarding UltraGrid control
posted

Hello,

I am evaluating an Infragistics UltraGrid control for one of my clients. I have integrated it into a windows form. I have below queries regarding this control.

1. When grouping is applied programmatically group headers are shown like, HeaderName : ColumnName

I want to display only column name and "HeaderName :" should not be there. Also, in bold.

2. Header shows something like Total SubTotal: SomeValue, Total is my column key I have used in formula and SubTotal text is used in disaply format of summary. I don't need this section to be displayed.

3. Column width should be adjusted as per the contents in it.

Please find below screen.

Please guide me in this.

Thanks

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    1. See the GroupByRowDescriptionMask property. Or... you could use the InitializeGroupByRow event and set e.Row.Description to whatever text you want.

    2. I assume you are talking about a summary here. Is that right. If so, see the DisplayFormat property on the SummarySettings.

    3. Use the PerformAutoResize method on the column, or PerformAutoResizeColumns on the grid.DisplayLayout. The InitializeLayout event is usually a good place to do this. Make sure you use the correct overload of this method that specifies AllRowsInBand - the default is VisibleRows, and there won't be any when InitializeLayout fires.

Children
No Data