<th data-field="index" data-formatter="indexFormatter" >序号</th>
<script type="text/javascript">
function indexFormatter(value, row, index) {
return index+1;
}
</script>
<th data-field="index" data-formatter="indexFormatter" >序号</th>
<script type="text/javascript">
function indexFormatter(value, row, index) {
return index+1;
}
</script>