webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

Problem attaching to an existing table. #146

Open devgiu opened 7 years ago

devgiu commented 7 years ago

I have a table thath looks like this: 2016-11-19 14_07_50-screenshot

And I want to make editable, but when I attach, I get this: 2016-11-19 14_08_19-screenshot

I'm just trying to follow the simple sample applied to my table

My editablegrid.load is as follows:

editableGrid.load({ metadata: [
         { name: "checkbox", datatype: "string", editable: false },
         { name: "ref", datatype: "string", editable: true },
         { name: "nombre", datatype: "string", editable: false },
    ]});