2015-01-29 3 views
0

Wijmo 라이브러리 (spreadJS)를 사용하여 Excel과 유사한 스프레드 시트를 작성하는 스크립트를 작성했습니다. 이 스프레드 시트를 ExtJS 패널에 통합하려고 시도하지만 오류가 발생합니다. Uncaught TypeError : undefined가 함수가 아닙니다.Wijmo SpreadJS에서 ExtJS를 실행할 때 오류가 발생했습니다.

두 파일이 있습니다.

<!DOCTYPE html> 
<html> 
    <head> 

    <link rel="stylesheet" type="text/css" href="ext-5.1.0/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css"> 
    <script type="text/javascript" src="ext-5.1.0/packages/ext-theme-neptune/build/ext-theme-neptune.js"></script> 
    <script type="text/javascript" src="ext-5.1.0/build/ext-all.js"></script> 

    <script type ="text/javascript" src="appEx.js"></script> 



    <!--jQuery References--> 
    <script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script> 
    <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js" type="text/javascript"></script> 

    <!--Theme--> 
    <link href="http://cdn.wijmo.com/themes/aristo/jquery-wijmo.css" rel="stylesheet" type="text/css" title="rocket-jqueryui"/> 

    <!--Wijmo Widgets CSS--> 
    <link href="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20131.3.min.css" rel="stylesheet" type="text/css" /> 

    <!--Wijmo Widgets JavaScript--> 
    <script src="http://cdn.wijmo.com/jquery.wijmo-open.all.3.20131.3.min.js" type="text/javascript"></script> 
    <script src="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20131.3.min.js" type="text/javascript"></script> 

    <!-- SpreadJS CSS and script --> 
    <script src="http://cdn.wijmo.com/spreadjs/jquery.wijmo.wijspread.all.1.20131.1.min.js" type="text/javascript"></script> 
    <link href="http://cdn.wijmo.com/spreadjs/jquery.wijmo.wijspread.1.20131.1.css" rel="stylesheet" type="text/css" /> 

    <script type="text/javascript"> 
$(document).ready(function() { 
      $("#ss").wijspread({ sheetCount: 2 }); // create wijspread widget instance 
      var spread = $("#ss").wijspread("spread"); // get instance of wijspread widget 
      var sheet = spread.getActiveSheet(); // get active worksheet of the wijspread widget 
      // initialize spreadJS 
     }); 
    </script> 
</head> 
<body> 

</body> 

이 두 번째 파일은 내 ExtJS로 응용 프로그램을 가지고있는 appEx.js이다 : 첫 번째는 내가 모든 라이브러리에 대한 참조이 같은 SpreadJS 스크립트를 가지고있는 index.html을이다

});

별도로 실행하면 둘 다 완벽하게 실행되지만 통합하려고하면 결과가 제공되지 않습니다.

버그가있는 곳은 누구입니까? 감사합니다.

답변

1

나는이 문제를 SpreadJS에서 관찰 할 수 있었으며 검토를 위해 개발 팀으로 전달했다.

관련 문제