Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Number of cell elements does not match the number of rows and columns in the table. (Read 582 times)
Gagandeep Singh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Dec 1st, 2022
Number of cell elements does not match the number of rows and columns in the table.
May 2nd, 2023 at 1:00pm
Print Post  
Hi there,

When I load this xml and it throw me this error:

The number of cell elements does not match the number of rows and columns in the table.

You will see in the xml that number of cell = 4
And rows = 2
And cell = 2

Quote:
diagram.loadFromXml(
        url,
        function () { console.log("Diagram loaded successfully") },
        function () { alert("error") }
    );
  

diagram.xml ( 27 KB | 58 Downloads )
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3223
Joined: Oct 19th, 2005
Re: Number of cell elements does not match the number of rows and columns in the table.
Reply #1 - May 3rd, 2023 at 2:03pm
Print Post  
Hi,

Scripts here should fix that -
https://mindfusion.eu/_temp/jsdiag_xml_cells.zip

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint