servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient
servoy sSummary 12% 30% 58% height: 30px; 3 Methods Summary Get 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.
function servoy sDetail 2 100% height:30px 2 Methods Details getCalculation name getCalculation(name) des sIndent Get an existing calculation for the datasource node. prs Parameters
sIndent name The name of the calculation ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getCalculations name getCalculations() des sIndent Gets all the calculations for the datasource node. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getDataSource name getDataSource() des sIndent Get the data source for this node. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getMethod name getMethod(name) des sIndent Get an existing foundset method for the datasource node. prs Parameters
sIndent name The name of the method ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getMethods name getMethods() des sIndent Gets all the foundset methods for the datasource node. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow newCalculation name newCalculation(code) des sIndent 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
sIndent code The code of the calculation, this must be a full function declaration. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow newCalculation name newCalculation(code, type) des sIndent 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
sIndent code The code of the calculation, this must be a full function declaration. type The type of the calculation, one of the JSVariable types. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow newMethod name newMethod(code) des sIndent Creates a new foundset method with the specified code. prs Parameters
sIndent code the specified code for the foundset method ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow removeCalculation name removeCalculation(name) des sIndent Removes the calculation specified by name. prs Parameters
sIndent name the name of the calculation to be removed ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow removeMethod name removeMethod(name) des sIndent Removes the foundset method specified by name. prs Parameters
sIndent name the name of the method to be removed ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow