This error occurs after I have loaded a word document (.docx) using the supplied .Net Core example code from the backend server and am displaying in a DocumentEditorContainer.
While editing the document, when I try to delete a table row this error is thrown and the table row is not deleted visually. However the row IS deleted after I click off of a table object in the document editor. After doing this, the rows are deleted (or the layout is recalculated).
Using:
Uncaught TypeError: Cannot read property 'length' of undefined
at Layout.reLayoutOrShiftWidgets (layout.js?1373:6552) at Layout.shiftLayoutedItems (layout.js?1373:6489) at Editor.reLayout (editor.js?460d:6847) at Editor.deleteRow (editor.js?460d:10522) at TableProperties.onDeleteRow (table-properties-pane.js?8c32:271)Thank you for the response. I have attached a sample word doc which should reproduce the error. Please let me know if you need additional info on this, or if a short clip would help.
Thank you.
Further to my last response, is there a particular way the table should be formatted in a .docx to best transfer to SyncFusion's DocumentEditor. I appear to have mixed results with table spacing in different .docx files.
For example, the previously attached sample doc (above) renders the table with the same row/cell vertical spacing as in the original Word doc. However in a different Word doc, all the tables in it seem to have their vertical row/cell spacing doubled (example below).
Neither table in the different documents have any special formatting so far as I can tell.
Original:
Rendered:
The above demonstrated sizing difference occurs throughout the entire document, this is just a snip.
I understand about SF's pagination and the difference between Word's sizing vs HTML, but since this occurs in different documents, it would seem to be something about the documents themselves rather than SyncFusion.
Thank you.
Hello,
I've attached a sample doc that should recreate the table spacing issue that I was referring to in my last comment.
Thank you again.
Regarding the table spacing issue, would you be able to say what constitutes a table style? Are the changing of the borders, row spacing, column width, etc all considered table style with respects to SyncFusion's current support of it?
Thank you.
This is great - thank you!