is there any of plugins that can help me on displaying daa on a table as well as edit it on runtime which helps to add new row automatically same like ms access table
1条回答 默认 最新
doushi6932 2013-07-07 14:36关注Have you tried handsontable.com Source code available from https://github.com/warpech/jquery-handsontable
<script src="../lib/jquery.min.js"></script> <script src="dist/jquery.handsontable.full.js"></script> <link rel="stylesheet" media="screen" href="dist/jquery.handsontable.full.css"> <div id="dataTable"></div> <script> var data = [ ["", "Kia", "Nissan", "Toyota", "Honda"], ["2008", 10, 11, 12, 13], ["2009", 20, 11, 14, 13], ["2010", 30, 15, 12, 13] ]; $("#dataTable").handsontable({ data: data, startRows: 6, startCols: 8 }); </script>解决 无用评论 打赏 举报