A jQuery plugin that converts an HTML Table into a javascript object. Great for working with user-editable tables or accessing output from 3rd party tools.
| First Name | Last Name | Points |
|---|---|---|
| Jill | Smith | 50 |
| Eve | Jackson | 94 |
| John | Doe | 80 |
| Adam | Johnson | 67 |
This examples uses the data-override option:
First Name
Last Name
Points
Jill
Smith
50
Eve
Jackson
94
John
Doe
80
Adam
Johnson
67
ignoreColumns
Array
[]onlyColumns
ignoreColumns when both are provided.Array
null - all columnsignoreHiddenRows
Boolean
trueheadings
Array
nullallowHTML
BooleanfalseincludeRowId
id attribute of each <tr> element is included in the JSON.Boolean or String
true, the ids are included under the header rowId.String, it is used as the header for the id instead of the default rowId.falsedata-override="overridden column name".headings option when a table doesn't have any specified headings.data-override="new value".