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

LoadXMLFromString not working #135

Closed DePeterCool closed 7 years ago

DePeterCool commented 8 years ago

I'm trying to load XML data from a string instead of a file, but it's not working. Attached are 2 versions of the "minimal" demo. One with the XML data in a file (which is working) and one where the exact same data is in a string (which doesn't work). I'm not getting any errors in JS, so i'm at a loss as to what i'm doing wrong. minimal.zip

DePeterCool commented 8 years ago

For what it's worth, a small addition to the editablegrid.js file solves the problem (even though the comments say that no callback "tableLoaded" is needed):

/**