Element Details: DsGroup
 Back


Available in: Logi Info Source code name: DsGroupIntroduced in: 12.5

DsGroup adds a grouping operation to a Dataview for DataLayer.DataServices.

For example, suppose you have an Orders Table and you would like to list only the individual sales person associated with the orders. You would select something like EmployeeID as the grouping column.
Rows are grouped by values based on one or more columns of the DataLayer. Enter the grouping column name(s) in the GroupColumn attribute. Separate multiple column names with commas.

When grouping is applied, only GroupColumn and AggregateColumn values get returned by the DataLayer.DataServices.

Element Group:Organize Data



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
GroupColumn
UserDefined
(Required) Set Group Column to the name of the column that will group all rows with the same value together. You can group by multiple columns by adding the additional column names, separated by commas.
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
IncludeCondition
True
False
An expression that evaluates to a value of True or False. If the expression is blank, or evaluates to true the element is processed. If the expression evaluates to false, the element is skipped. Expressions should be in VBScript or JavaScript syntax. For .NET versions, the scripting language can be set in the _settings.lgx General element. For Java versions, the scripting language is always JavaScript. Typically, you would compare values using an operator, such as "@Session.value~ < 0". Use quotes when working with strings: "@Session.myValue~" == "SomeValue"



PARENT ELEMENTS

Click element to drill down for more information.

DataLayer.Data Services


CHILD ELEMENTS

Click element to drill down for more information.

DsAggregate Column


 Back to top