Ok then scratch what I said because CF MX 7, is either java, flash, or xml so not sure, but it looks like a page refresh to reload the data.
If it is possible I would think about getting the latest ColdFusion, as t make both the Grid easier and creating excel spreadsheets. On Thu, Aug 25, 2011 at 1:49 AM, Mo Lay <[email protected]> wrote: > > >If it was me I would head on over to extjs and look at the API for the > >version that CFMX 7 supports, which is version 1.0 or 1.1 off the top of > my > >head. > > > >But to give you a quick run down on what I would do. > > > >Create your form and write an onSubmit function, when the form is > submitted > >this function will then execute and submit the data. Now the key is on > >whether you want to do this via Ajax or normal form, if you do it with > Ajax > >then I would return a something to say whether the data has been validated > >or not. If it has been validated, then you could use the ExtJS API to then > >create a record for the store, and then add that to the grid. > > > >Now the more simpler way, would be to submit the data and refresh the page > >back to itself. This would then reload the page and of course the CFGrid. > > > >But you don; say if you are using the bind, a query or what or how you a > >validating the form being submitted, as all this has an impact on what you > >are doing as well. > > > > > > > > > >On Thu, Aug 25, 2011 at 12:47 AM, Mo Lay <[email protected]> wrote: > > > >-- > >Regards, > >Andrew Scott > >WebSite: http://www.andyscott.id.au/ > >Google+: http://plus.google.com/108193156965451149543 > > Thanks Andrew , > > > Basically iam using <cfformgroup> with <cfgrid> to populate my data > and ultimately i want the user to see the new record inserted under his > name and be able to export this grid to excel ...not sure if this is doable > ? > > thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5496 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
