| Contents > CFML Reference > WDDX JavaScript Objects > WddxRecordset object > Functions |
|
|
|
|
||
Function syntax |
Description |
|---|---|
|
Adds a column to all rows in a WddxRecordset instance. |
|
Adds rows to all columns in a WddxRecordset instance. |
|
Displays WddxRecordset object data. |
|
Returns the element in a row/column position. |
|
Indicates the number of rows in a WddxRecordset instance. |
|
Sets the element in a row/column position. |
|
Serializes a record set. |
HTML table of the WddxRecordset object data.
Convenient for debugging and testing record sets. The boolean parameter escapeStrings determines whether <>& characters in string values are escaped as <>& in HTML.
<!--- Create a simple query ---> <cfquery name = "q" datasource ="cfsnippets"> SELECT Message_Id, Thread_id, Username, Posted FROM messages </cfquery> <!--- Load the wddx.js file, which includes the dump function ---> <script type="text/javascript" src="/CFIDE/scripts/wddx.js"></script> <script> // Use WDDX to move from CFML data to JS <cfwddx action="cfml2js" input="#q#" topLevelVariable="qj"> // Dump the record set document.write(qj.dump(true)); </script>
|
|
||
| Contents > CFML Reference > WDDX JavaScript Objects > WddxRecordset object > Functions |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.