• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

DataGlue.bindFormatStrings( ) Method > DataGlue.bindFormatStrings( ) Method

Name

DataGlue.bindFormatStrings( ) Method

Synopsis

DataGlue.bindFormatStrings(dataConsumer, dataProvider, labelString, dataString)

Arguments

dataConsumer

The field that you want to sort the RecordSet object by.

dataProvider

The direction to sort the recordset. "DESC" specifies a descending sort; anything else is ascending.

labelString

The label that will show in the UI component.

dataString

The data that will correspond to the label in the UI component.

Description

The DataGlue object contains two methods for binding data to a UI component. The bindFormatFunction( ) method is best used when the data coming from the recordset or other data provider has to be formatted in a particular way. If the data can be used directly, the bindFormatStrings( ) method is easier to use because you don’t have to define a custom function that formats the data. Simply specify the fields to use for the label and data properties of the data consumer in the method call.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint