|
@@ -80,15 +80,28 @@
|
|
|
});
|
|
});
|
|
|
$('#method').bootstrapTable({
|
|
$('#method').bootstrapTable({
|
|
|
columns: [
|
|
columns: [
|
|
|
- {field: 'name', title: 'Name', align: 'center', width: 100},
|
|
|
|
|
- {field: 'parameter', title: 'Parameter', align: 'center', width: 100},
|
|
|
|
|
|
|
+ {field: 'name', title: 'Name', align: 'center', valign: 'middle', width: 100},
|
|
|
|
|
+ {field: 'parameter', title: 'Parameter', align: 'center', valign: 'middle', width: 100},
|
|
|
{field: 'description', title: 'Description', width: 400}
|
|
{field: 'description', title: 'Description', width: 400}
|
|
|
]
|
|
]
|
|
|
}).bootstrapTable('load', [
|
|
}).bootstrapTable('load', [
|
|
|
{name: 'load', parameter: 'data', description: 'Load the data to table.'}
|
|
{name: 'load', parameter: 'data', description: 'Load the data to table.'}
|
|
|
]).bootstrapTable('append', [
|
|
]).bootstrapTable('append', [
|
|
|
- {name: 'append', parameter: 'data', description: 'Append the data to table.'}
|
|
|
|
|
- ]);
|
|
|
|
|
|
|
+ {name: 'append', parameter: 'data', description: 'Append the data to table.'},
|
|
|
|
|
+ {name: 'mergeCells', parameter: 'options', description: 'Merge some cells to one cell, the options contains following properties:'},
|
|
|
|
|
+ {name: 'mergeCells', parameter: 'options', description: 'index: the row index.'},
|
|
|
|
|
+ {name: 'mergeCells', parameter: 'options', description: 'field: the field name.'},
|
|
|
|
|
+ {name: 'mergeCells', parameter: 'options', description: 'rowspan: the rowspan count to be merged.'},
|
|
|
|
|
+ {name: 'mergeCells', parameter: 'options', description: 'colspan: the colspan count to be merged.'}
|
|
|
|
|
+ ]).bootstrapTable('mergeCells', {
|
|
|
|
|
+ index: 2,
|
|
|
|
|
+ field: 'name',
|
|
|
|
|
+ rowspan: 5
|
|
|
|
|
+ }).bootstrapTable('mergeCells', {
|
|
|
|
|
+ index: 2,
|
|
|
|
|
+ field: 'parameter',
|
|
|
|
|
+ rowspan: 5
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
<script type="text/javascript" src="/js/analytics.js"></script>
|
|
<script type="text/javascript" src="/js/analytics.js"></script>
|