jquery.edit-table.js Developer's Site

ewai.info | github | Issues

Nomal | Import Data | Export Data | Option

Demo - Import Data

Javascript Code

$(function() {
  $('#editTable').editTable({
    headerNames:["OrderDate","BookId","BookName","BookType","Amount","Used"],
    types:["Date","String","String","Select","Number","Checkbox"],
    datas:[
        ["2013/02/14","Item-1","Book A","",0,false],
        ["2013/02/21","Item-2","Book B","hardback",4500,false],
        ["2013/02/23","Item-3","Book C","comic",250,true]
      ],
    selects:{3:["novel","comic","hardback"]}
  });
});

HTML Code

<table id="editTable">
</table>