Replace Data value <BR>

I have a problem with data showing
my Filed data like this
ST417
BX
00RPP601394BNSFLBS
BNX
AS N9BM60139420080215153400
N7
BNSF*7

Did yo see the
after ST417
I want to show data like this (replace
from <BR> or line feed)
ex :-
ST
417
BX00RPP601394BNSFLBS
BNXA**S
N9
BM601394**20080215153400
N7BNSF7

how can i do that in UI
my data source like this

DataSource.create({
ID:“viewItem”,

fields:[
    {name:"ediMsgLogID",  type:"sequence",  primaryKey:true,  hidden:true},
    {name:"ediMsgLogDate", title:"Date" },
    {name:"ediMsgLogMsg",  title:"Message" },
    {name:"ediMsgLogOrgRM"  , title:"From Road" },
    {name:"ediMsgLogSendRM",title:"To Road"},
    {name:"ediMsgLogMsgType",title:"Type"},
    {name:"ediMsgLogMsgStatus",title:"Status"}
]   

});

result of the above data coming from the
ediMsgLogMsg value

give me the way how can i do it
thanks
Saneera

Hi Saneera,

Once you’ve retrieve the data from the server, you can use JavaScript to transform the "
" characters to HTML “<BR>s”.

relace
from BR

hi
thanks for ur reply
but how can i do it when data showing
is there anyway to call java script from the field

Hi Saneera,

You could use listGridField.formatCellValue(), but it’s more efficient to modify the data before you pass it to the ListGrid for display.

pls

Thanks very much

My field is like this
{name:“ediMsgLogMsg”, title:“Message” },

if u can please give me an example when we select list item
in the view tab we have to show above “ediMsgLogMsg” with replaceing <BR>

if u can give me an example