Modifing a data in a column if its being used by fnRender

Modifing a data in a column if its being used by fnRender

ch3fch3f Posts: 3Questions: 0Answers: 0
edited February 2012 in DataTables 1.8
I have a column that is utilizing fnRender, for some logic purposes. I want to be able to change the value of a cell on an event. Is there a away to do this.

example:
[code]
{ "sTitle": "Status",
"fnRender": function ( oObj ) {
var status = oObj.aData.serverStatus;

if(status == 'POWERED_OFF') {
status = 'Stopped';
}else if(status == 'POWERED_ON') {
status = 'Running';
}else if(status == 'SUSPENDED'){
status = 'Suspended';
}else if(status == 'FAILED'){
status = 'Failed to Create';
}else{
status = oObj.aData.serverStatus;
}
return status;
}
}
[/code]

and if i try to change a cell in this column on an event my browser crashes. I really hope there is a way to do this.
This discussion has been closed.