Gets or sets the value of the cell currently being processed.
This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
In GridControl, you can create unbound (calculated) columns. These columns are not bound to any field in the underlying data source.
Data for these columns can be provided either by creating an expression via the GridColumn.UnboundExpression property or by handling the CustomUnboundColumnData event. This event fires in two cases:
Provide Data for Unbound Columns
When the grid is loaded, it raises the CustomUnboundColumnData event to populate the unbound columns. The event's IsGetData parameter will be set to true (consequently the IsSetData parameter will be set to false). In this case, you need to supply data for the currently processed cell. Assign the required value to the Value parameter.
When an unbound column's data is modified using the grid, the CustomUnboundColumnData event is fired with the IsSetData parameter set to true (consequently the IsGetData parameter is set to false). In this case, you can save the modified data specified by the Value property.
Assume that the GridControl instance is bound to a collection of orders. Each order has the "Product", "UnitPrice"and "Quantity" fields. The example below shows how to add an unbound column to the grid to display the amount of each order according to the expression: UnitPrice*Quantity.