Open GoogleCodeExporter opened 9 years ago
I fixed this by putting the following into the oDefaultEditableSettings
onsubmit function:
if(settings.fModifyDisplayValue)
sNewCellDisplayValue = settings.fnModifyDisplayValue(sNewCellDisplayValue) || sNewCellDisplayValue;
and then implementing fnModifyDisplayValue in my settings:
...
data: function(value, settings) {
return value.replace(/<br[\s\/]?>/gi, '\n');
},
fnModifyDisplayValue: function(val){
return val.replace(/[\r\n]/g, '<br />');
}
...
Can we get this added?
Original comment by nathanan...@gmail.com
on 31 Jul 2013 at 3:36
Original issue reported on code.google.com by
jamesj...@gmail.com
on 30 Jun 2013 at 10:34