I want to create table with some column names and rows data initially. Afterward i will Edit and insert more columns and rows. Instead of empty table, i have some data initially. Can you please guide me how i can do this ?
I have tried this code but its not working.
new JSONTableEditor('#t1_editorDiv', { "meta": { "rows": 2, "columns": 2 }, "data": [ [ { "content": "Narendra Modi", "format": { "align": "right", "italic": true } }, { "content": "Manmohan Singh", "format": { "align": "right", "italic": true } } ], [ { "content": "55", "format": {} }, { "content": "65", "format": {} } ] ] });