Ext.CFC isn't about the greenhouse gasses, but instead abstracts out Ext components into the land of CFML:
“The Ext library is packed with tons of cool features, but like most CF programmers, I was initially interested in the Grid Panel. The Grid panel is implemented in ColdFusion 8 using the <cfgrid>, <cfgridcolumn>, and <cfgridrow> tags. Since I started this long before <cfgrid> was a thought, this code will obviously work in CF7.”
Currently the only abstraction is the Grid component, which allows you to do the following in CFML to create a rich grid:
-
-
extobj = createobject("component",extcfc).init();
-
extobj.initGrid(title="messages",path='http://'&cgi.server_name&cgi.script_name&'?
-
action=getData',root='messages',id='id',defaultSortColumn=form.sort,defaultSortOrder=form.dir);
-
extobj.initGridFooter();
-
//extobj.setGridCol(header='Subject',width=200,name='subject',render="String.format('{0}‘, value)”,detailRender=”String.format(’{0}
-
{1}’, value, record.data[’body’])”);
-
extobj.setGridCol(header=’Subject’,width=200,name=’subject’);
-
extobj.setGridCol(header=’Sender’,width=150,name=’sender’);
-
extobj.setGridCol(header=’Sent’,width=150,name=’datetime’);
-
which creates:

Ah, now I can feel a little less guilty about how little we post on Coldfusion.... at least until Rey joined the fun!


