Are you using firebug to inspect the grid? You can do on of two things, try
the illumination firebug plugin that will give you right click access to
inspect the grid. Or just use the id assigned to the grid component and do:

Ext.getCmp('mygridid').getStore();

Then sift throw the store and its records / fields and double check that the
data is loaded correctly.

You may also want to add some listeners on your store so you can see whats
happening and what the data returned looks like. Are using EXT straight up
or via CFgrid? I've never used CFGRID, but if your creating your grid/stores
manually, you can add listeners on your store:

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);

You could also try excluding just the one column from your grids
columnConfig and see if it renders. If it does, then its definitely that
column, otherwise, its something else. If it is that column, you could also
try adding a column renderer to format the data for display...

Brook

-----Original Message-----
From: Richard White [mailto:[email protected]] 
Sent: January-18-11 2:38 AM
To: cf-talk
Subject: Re: ExtJS Text Area, MySQL, ColdFusion and Enter Key


>Telling us what the error is would help... I have not had any problems 
>with line breaks and Ext.data.Store... + Ext.Grid

its strange as there isnt actually an error being thrown by firebug. In the
text area i entered:
"Testing

Testing"

... then if i dump out the JSON text it displays it as "Testing Testing" but
the grid doesnt load. It appears to have a space instead of a line break.
However, if i loop through one character at a time in coldfusion there are
two chr(10) values.

So i am a bit lost as to what to try next

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-talk/message.cfm/messageid:340973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to