Very simple, just add a judge
field : 'dataOffset',
title : '偏移量',
event : 'detail',
align : 'center',
edit : 'text',
templet : function(row) {
if(row.dataOffset==null){
return "";
}
return row.dataOffset;
If only need to add, when it is null, it returns a "" can be slightly