您的位置:首页 > 其它

mindmup-editabletable-编辑table的使用

2016-01-26 10:07 543 查看
官方网站:http://mindmup.github.io/editable-table/

github下载地址:https://github.com/mindmup/editable-table

我的结构



简单测试html源码

<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>编辑</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
</head>

<body>
<table id="table" border="1">
<tr>
<td>fdsafdsafdasfds</td>
</tr>
</table>
</body>
</html>
<script src="jquery-1.11.1.min.js"></script>
<script src="editable-table-master/mindmup-editabletable.js"></script>
<script src="editable-table-master/numeric-input-example.js"></script>
<script type="text/javascript">
$(function () {
$('#table').editableTableWidget({editor: $('<textarea>')});
});

</script>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: