internet explorer - jsPDF + jsPDF-AutoTable in IE10 and IE11 -


i using jspdf 1.2.60 , jspdf autotable 2.0.32 plugin generate pdf containing table colspans , rowspans , images (data uris). works without problems in chrome , firefox not able make work in ie10 , ie11.

i tried working jspdf 1.0.272 because read should work in ie<=9 hence in ie10 , ie11 didn't, keep getting error: 'jspdf object undefined' similar error using latest version of jspdf

ie error jspdf-1.2.60

i including following scripts:

<script type="text/javascript" src="/scripts/jspdf-1.2.60/examples/js/jquery/jquery-ui-1.8.17.custom.min.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/dist/jspdf.min.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/plugins/split_text_to_size.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/plugins/standard_fonts_metrics.js"></script>      <script type="text/javascript" src="/scripts/jspdf-1.2.60/libs/css_colors.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/libs/deflate.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/libs/html2pdf.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/libs/polyfill.js"></script>    <script type="text/javascript" src="/scripts/jspdf-autotable-2.0.32/dist/jspdf.plugin.autotable.js"></script>    <script type="text/javascript" src="/scripts/jquery.tableparser-master/jquery.tableparser-min.js"></script>

has used library in ie?

thanks, mihaela

i able export pdf out of html page containing table rowspans , colspans. have included following scripts (i need jquery because attach click listener button ...):

<script type="text/javascript" src="/scripts/jquery/jquery-1.7.1.min.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/dist/jspdf.min.js"></script>    <script type="text/javascript" src="/scripts/jspdf-1.2.60/plugins/jspdf.plugin.autotable.js"></script>  <script type="text/javascript" src="/scripts/jspdf-1.2.60/plugins/split_text_to_size.js"></script>

in original use case though doesn't work. there additional scripts being called , might broke of things.

the error following: clue how getters ie disabled?

thanks in advance!


edit

i found issue: page displayed in compatibility mode ie8, when disabled feature worked charm! :-)

enter image description here


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -