The cfgrid bind expression calls a CFC and passes it a parameter bound to the selected item in the Spry XML data set.
It uses the selected item in the Spry data set to control the contents of a cfgrid control.
It displays information from the Spry data in a Spry dynamic region list box.
It uses a CFC function directly to populate a Spry XML data set, from an XML file.
For more information about Spry framework, see For more information, see the cfsprydataset tag in the _CFML Reference. The following example shows the bind syntax:ĬoldFusion includes the complete Spry 1.5 framework release in web_root/_CFIDE/scripts/ajax/spry directory. The bind parameter cannotspecify an event the bind expression is re-evaluated each time the selected row in the data set changes. For example, if dsFilters is a Spry data set withĪ name column, the bind parameterīinds to the value of the current row's name column. Path to the specific element that you bind to, by using standard Toīind to a Spry data set, specify the data set name followed by the Therefore, a ColdFusion form element, such as cfinput, binds to a field in a dynamic Spry data set, and is updated each time the data set updates, including when the user selects an item in a Spry control or dynamic region that the data set populates. ColdFusion provides support for mixing native ColdFusion elements and Spry elements in a single application.ĬoldFusion tags use Spry data sets directly in bind expressions.