I use following way to wrap the cell text in extjs grid.
{
header : 'Error Message',
dataIndex : 'errorMessage',
renderer:function(val, meta, record, rowIndex, colIndex, store){
return '<div style="white-space:normal !important;">'+ val +'</div>';
}
}
No comments:
Post a Comment