EasyUI dataGrid 备忘
<th data-options="field:'字段名',width:宽度,align:'center[对齐方式]',formatter:shzModifyHis[函数名]"><span style="font-weight:bold;">列名</span></th>
function shzModifyHis(value, rowData, rowIndex){ if(rowData.字段名!= null){ return "<input type='button' value='按钮名' />"; } }