We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GGC - set column values

I am using GridGroupingControl and I am wondering what mechanism to use in GGC to implement these requirements: At run time, user can select any column in display and decides to do one of the following: - Set all values in a column the same - Increment the values in a column - Define a formula and apply it to an entire column or to a selection of cells within a column. Thanks, Nancy

1 Reply

AD Administrator Syncfusion Team July 27, 2005 05:33 PM UTC

You will have to loop through the grid.Table.Records collection (or the grid.Tables.FilteredRecords collection to do the work on only the visible records from your datasource as opposed to all records in your datasource). For each record in the collection, you would use record.GetValue and record.SetValue to do whatever you want to do.

Live Chat Icon For mobile
Up arrow icon