The first step is to add a custom cell renderer to a column. Take a look at this post for info on that:
http://blog.cutterscrossing.com/index.cfm/2007/11/30/CF8-Ajax-Grid-Renderers-and-Events Then, you'll want to tap into the underlying Ext library. Take a look at the ExtJs 1.1 API, and specifically find the Ext.util.Format class. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 10/5/2009 9:35 AM, Pete Ruckelshaus wrote: > I'm using an Ajax CFGRID control and I'm looking for a way to format some of > the numeric content. The current content is something like > "38.33333333333333" and I'd like to shorten it to a number format along the > lines of "38.33" (i.e. only 2 decimal places). How might I accomplish this? > Next up, I'd like to make it so that I can click on a column in my grid and > have it open a CFWINDOW containing specific content. Is this possible? > > Thanks, > > Pete > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326901 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

