Sorry for the late reply. Yes, the mask attribute applies only if format is flash. If you want to format the data in an html grid, you will have to write your query accordingly so that it returns the date in the required format. This was specifically for the date. However we can take this up as an enhancement. I shall file it for you. Thanks for the inputs. If you have any doubts feel free to ask
Regards, Bhakti Adobe ColdFusion team -----Original Message----- From: Dan Vega [mailto:[EMAIL PROTECTED] Sent: Sunday, August 05, 2007 11:25 PM To: CF-Talk Subject: ColdFusion 8 cfgrid and formatting I am having a hard time finding an answer to this riddle so maybe someone here can help. I have a grid with columns show below. The livedocs say the mask attribute for cfgridcolumn is only used in when the format is flash. If this is correct then how do i format data in html? This would not just be dates but really any data, does anyone know how to format data? <cfform> <cfgrid name="ClientsGrid" format="html" striperows="true" autowidth="true" pagesize="30" bgcolor="black" textcolor="white" bind="cfc:clients.getClients ({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection}) "> <cfgridcolumn name="studentlast" header="Last Name"> <cfgridcolumn name="studentfirst" header="First Name"> <cfgridcolumn name="studentemail" header="Email Address"> <cfgridcolumn name="advisor" header="Advisor"> <cfgridcolumn name="entrydate" header="Entry Date" mask="[MM/DD/YYYY]"> <cfgridcolumn name="monthly" header="Monthly"> <cfgridcolumn name="billto" header="Bill To"> <cfgridcolumn name="anniversary" header="Anniversary"> </cfgrid> </cfform> -- Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4