How would I find the Maximum value of a cell in the column named "Num"? I have looked at
UltraGrid1.Rows.Max(
but I don't know what to pass in the Max function.
Thanks
Hello ,
UltraGrid.Rows.Max(row => row.Cells[“Num”].Value), will retrieve you the row with the maximum value of top level rows as its elements. They can be instances of UltraGridRow or UltraGridGroupByRow if you have group-by rows in band 0.
Please let me know if you have any further questions
Hi,
I do a sample project with one column with Int32 type before wrote Reply in this forum. Retreive value isn't the UltraGridRow object but the value in the cell.
It's depends maybe of data in UltraGrid.
Could you take a look to my previous topic :
http://forums.infragistics.com/forums/t/61035.aspx