mindmup-editabletable-编辑table的使用

官方网站: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>

 

posted @ 2016-01-26 10:07  243573295  阅读(1832)  评论(0编辑  收藏  举报