Can you show me your column config....
-----Original Message-----
From: Richard White [mailto:[email protected]]
Sent: January-18-11 11:21 AM
To: cf-talk
Subject: Re: ExtJS Text Area, MySQL, ColdFusion and Enter Key
thanks for your reply, yes im using firebug and ext straight up
>myStore.on('exception',function(proxy,type,action,o,response,arg){
>console.warn('load exception');
>console.dir(response)
>},this);
>
>myStore.on('load',function(store,records,options){
>console.warn('Store loaded');
>console.dir(records)
>},this);
i included these 2 function and it came up with a load exception only when i
added text with a line break. The console displays the json data as follows:
{"total": "1",
"data":[{"ABBREVIATION":"J7_ID","ADDITIONALINFORMATION":"testing
testing}]}
It is actualy showing the link breaks, so presumably this is causing the
exception.
Would the best solution be to loop through the text on the server converting
any chr(10) to something and add a renderer on the grid to convert it back
to '\n'
Its strange how this works for you though
thanks for your help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:340983
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm