>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

ColdFusion Ajax Tutorial 3: Live Data Grids - data rss coldfusion grid artists cfgrid ajax required

 
Registered tutorials: 501
Registered Users: 33128



Rating: 5 out of 2 votes cast


  
Category: Ajax and ColdFusion

ColdFusion Ajax Tutorial 3: Live Data Grids

Digg this   Post to del.icio.us

Abstract: Shows new ColdFusion 8 data grid and how to populate that control using asynchronous calls back to a ColdFusion Component.

The data grid is critical to all sorts of development on all sorts of platforms and in all sorts of languages. ColdFusion has supported data grids since ColdFusion 2 - first a Java applet, then a Flash control, and in ColdFusion 8 we've added an HTML data grid that can be pre-populated with data, or which can be used to display live data loaded asynchronously.

The basic pre-populated data grid functions much like the <CFGRID> of old, pass it a query and it displays the data. Here is an example (which uses the example tables that come with ColdFusion):

<cfquery name="artists" datasource="cfartgallery">
SELECT artistid, lastname, firstname, email
FROM artists
ORDER BY lastname, firstname
</cfquery>

<cfform>
   <cfgrid name="artists"
         format="html"
         striperows="yes"
         query="artists">

      <cfgridcolumn name="lastname" header="Last Name" width="100"/>
      <cfgridcolumn name="firstname" header="First Name" width="100"/>
      <cfgridcolumn name="email" header="E-Mail" width="200"/>
   </cfgrid>
</cfform>

Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 713
Unique Hits: 590


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0.7 0.7 6.2 6.5 28.6 33.8
Current 0 0 0 0 0 0
Previous 0 0 7 7 39 41
Nov 29 1 1 4 4 39 43
Nov 28 0 0 0 0 28 32
Nov 27 1 1 16 16 50 63
Nov 26 1 1 0 0 45 55
Nov 25 4 4 10 12 40 52
Nov 24 0 0 0 0 0 0
Nov 23 0 0 15 16 23 25
Nov 22 0 0 10 10 22 27
Highest 8 11 17 23 57 71


Script Execution Time: 3.80252 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2