Iterate through all cells

I want to loop through each cell in the gridgrouping and assign them a value. Does any one know how that can be done?

1 Reply

SA Saravanan A Syncfusion Team May 29, 2007 10:04 PM UTC

Hi Pontus,

GridGroupingControl maintains a DisplayElement collection in which each element represent a row in gridgrouping control and the element.GetRecord() method will return the corresponding record. Then you can use the SetValue method of that record object to assign values for them.

Please refer to this sample.
http://websamples.syncfusion.com/samples/Grid.Windows/F61588/main.htm

Best Regards,
Saravanan

Loader.
Up arrow icon