servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods SummaryGet an existing calculation for the datasource node.Gets all the calculations for the datasource node.Get the data source for this node.Get an existing foundset method for the datasource node.Gets all the foundset methods for the datasource node.Creates a new calculation for the given code, the type will be the column where it could be build on (if name is a column name), else it will default to JSVariable.Creates a new calculation for the given code and the type, if it builds on a column (name is a column name) then type will be ignored.Creates a new foundset method with the specified code.Removes the calculation specified by name.Removes the foundset method specified by name.functionservoy sDetail2100%height:30px2Methods DetailsgetCalculationname
getCalculation(name)
dessIndent
Get an existing calculation for the datasource node.
prs
Parameters
sIndentnameThe name of the calculationret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetCalculationsname
getCalculations()
dessIndent
Gets all the calculations for the datasource node.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetDataSourcename
getDataSource()
dessIndent
Get the data source for this node.
ret
Returns
sIndentthe dataSourceclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetMethodname
getMethod(name)
dessIndent
Get an existing foundset method for the datasource node.
prs
Parameters
sIndentnameThe name of the methodret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetMethodsname
getMethods()
dessIndent
Gets all the foundset methods for the datasource node.
ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRownewCalculationname
newCalculation(code)
dessIndent
Creates a new calculation for the given code, the type will be the column where it could be build on (if name is a column name),
else it will default to JSVariable.TEXT;
prs
Parameters
sIndentcodeThe code of the calculation, this must be a full function declaration.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRownewCalculationname
newCalculation(code, type)
dessIndent
Creates a new calculation for the given code and the type, if it builds on a column (name is a column name) then type will be ignored.
prs
Parameters
sIndentcodeThe code of the calculation, this must be a full function declaration.typeThe type of the calculation, one of the JSVariable types.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRownewMethodname
newMethod(code)
dessIndent
Creates a new foundset method with the specified code.
prs
Parameters
sIndentcodethe specified code for the foundset methodret