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: > > Hi Guys , > > i am using a form to submit some data and on the 2nd half of the form on > the bottom iam displaying the data from that same source.. > What i want is when the user submit his data ...the Cfgrid i am using will > be refreshed automaticallly ... or having and icon to do that ?? > > I am always using MX-7 > > thanks folks > > -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:5492 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
