What is the error you are getting? Are you using firebug to debug the error? Turn on the script tab / break on error / option to break as soon as the error is hit, then look at the data/vars and try to see where its choking. Telling us what the error is would help... I have not had any problems with line breaks and Ext.data.Store... + Ext.Grid
Brook -----Original Message----- From: Richard White [mailto:[email protected]] Sent: January-17-11 8:45 AM To: cf-talk Subject: ExtJS Text Area, MySQL, ColdFusion and Enter Key Hi, I am using ExtJS text area on a form, which posts the data to a cfm page, which in turn stores the data into MySQL database. Then I use CF to get data out of database, and convert the data to json using toJSON.queryToJSON which sends the data to an ExtJS grid. If the user hits the enter key in the text area the data seems to be getting saved ok, but when it gets converted to JSON to send to the ExtJS grid, it is resulting in an error yet I cannot seem to work out why. I have been looking at a few posts in relation to handling the new line on text areas but have gotten very lost. Should i be using the convert function on the ExtJS grid store to convert the string when the ExtJS grid receives it? If so does anyone have any examples on how to do this? Can anyone help point in the right direction, or have any examples I can follow. many thanks Richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

