Thanks for the reply Bhakti! Dan
On 8/8/07, Bhakti Pingale <[EMAIL PROTECTED]> wrote: > > 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 > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

