Why SpreadJS cannot work properly in iframe

Posted by: c1_jonc on 8 September 2017, 9:49 am EST

  • Posted 8 September 2017, 9:49 am EST

    Hi,

    I put cellspan.html(from the demo in samplesExplorerSamplepages) into an iframe, such as :

    main.jsp:

    <html>

    <body leftmargin=0 topmargin=0 >

    <table width=“100%” border=“0” height=“100%”>

    <tr>

    <td >

    <iframe id=iframeContent src=“cellspan.html”

    frameborder=0 width=“100%” height=“100%”

    scrolling=“auto” align=center valign=top></iframe>

    </td>

    </tr>

    </table>

    </body>

    </html>

    and when I visit main.jsp in IE11, it cannot work , and shows a string:

    You need a browser which full supports HTML5 Canvas to run SpreadJS

    Can anyone tell me how to make it work? Thanks a lot!

  • Posted 8 September 2017, 9:49 am EST

    Hello,

    We are not able to replicate this issue at our end. The cellspan.html page is wotking fine in an iframe. Please test the attached sample. Also refer to the image attached.

    Thanks,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels