TdxGanttControlResource.Group Property
Specifies the resource group’s name.
Declaration
property Group: string read; write;
Property Value
Type |
---|
string |
Remarks
Use this property to group resources. The code example below shows how to hide resources that belong to the ‘Group 1’ group:
var
I: Integer;
AResource: TdxGanttControlResource;
begin
for I := 0 to dxGanttControl1.DataModel.Resources.Count - 1 do
begin
AResource := dxGanttControl1.DataModel.Resources.Items[I];
if AResource.Group = 'Group 1' then
AResource.Blank := True;
end;
end;
See Also