cpr.bind.IBindFactory

Bind support interface

Index

Methods
Name Return Type Description
toAppProperty Bind to the properties of your app.
toDataColumn Relative binding is performed using the data column name.
toDataMap Binds to a column in a specific data map.
toDataSet Binds to a column value of a specific row in a particular dataset.
toExpression Expression expression and binding.
toLanguage Bind with language key.

Methods

toAppProperty(appProperty)
Bind to the properties of your app.
Parameters
name type description
appProperty String
toDataColumn(columnName)
Relative binding is performed using the data column name.
Parameters
name type description
columnName #column
toDataMap(dataMap, columnName)
Binds to a column in a specific data map.
Parameters
name type description
dataMap DataMap
columnName #column
toDataSet(dataSet, columnName, rowIndex)
Binds to a column value of a specific row in a particular dataset.
Parameters
name type description
dataSet DataCollection
columnName #column
rowIndex Number
toExpression(expression, context)
Expression expression and binding. If the context is omitted, the closest bind context is used.
Parameters
name type description
expression #expression
contextoptional Object
toLanguage(keypath)
Bind with language key.
Parameters
name type description
keypath #lang