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

Maximum size of XML document? #14

Closed jamesmlong closed 13 years ago

jamesmlong commented 13 years ago

I have been working with Editable grid for a few hours over the weekend and I noticed that if I have more than 20 rows in my XML document the grid fails to render at all and throws a JavaScript error. [setCellRenderer] Invalid column: action I am not sure what I should do to resolve the issue or if the loadXML function just can't handle the large amount of columns that I am presenting in the XML ( currently 18 ).

webismymind commented 13 years ago

There is no such limitation and we use grids with much more rows. I suspect that the 20th row contains some invalid character for the used character encoding (eg. utf8). You should try to load the URL providing the XML directly in your browser to see if the produced XML is valid.

jamesmlong commented 13 years ago

Thank you for the reply, the data did have an invalid character that I missed with my original data import. Problem solved.