How to get spaces in the listgrid?

Hi Isomorphic,

I am doing set value for the listgrid.Everything is coming in single line in IE.But in Mozila after the spaces nothing is displayed.

Here is the code.

var tempstr=dynfRptCrd_editcomment.getValue(‘atxtRptCrd_editcomment’);
alert(“tempstr”+tempstr);
lgrptcard.setEditValue(rowONClk,lgrptcard.getFieldName(colONClk),
dynfRptCrd_editcomment.getValue(‘atxtRptCrd_editcomment’));
lgrptcard.setEditValue(rowONClk,lgrptcard.getFieldName(colONClk),trim(tempstr));

Without knowing what’s in “tempstr”, of course no one can help you…