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
GroupByRow
posted

I am grouping by row a particular field.  How can I get the values of the other columns in that groupby row?

Parents
No Data
Reply
  • 37774
    posted

    You can look at the ChildBands collection of that row, whose rows collection will be all of the rows that are grouped by that particular condition.  So to get at, for example, a column named "Col 1" and assuming that the first row in the grid is a GroupByRow, you would have:

    UltraGridCell cell = this.ultraGrid1.Rows[0].ChildBands[0].Rows[0].Cells["Col 1"];

    -Matt

Children
No Data