DataColumn.Block Property | |
A code block associated with the data column. If set, it is used to filter the data in/out of the data column.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY Block AS USUAL GET SET
public virtual Usual Block { get; set; }
Request Example
View SourceProperty Value
Type:
UsualA code block associated with the data column. If set, it is used to filter the data in/out of the data column.
Examples
This example sets the code block for a calculated Wages column where HoursWorked and HourlyRate are fields in your database. These lines would appear inside your DataBrowser:Init() method:
1oMyColumn:BlockOwner := SELF:Server
2oMyColumn:Block := { | oVar | oVar:HoursWorked * oVar:HourlyRate }
3
See Also