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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC - set column values

Thread ID:

Created:

Updated:

Platform:

Replies:

32341 Jul 27,2005 04:06 PM UTC Jul 27,2005 05:33 PM UTC WinForms 1
loading
Tags: GridControl
Nancy Jan
Asked On July 27, 2005 04:06 PM UTC

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

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;