Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problems integrating Datatables
Problems integrating Datatables [message #1791283] Wed, 27 June 2018 15:00
Bernhard Derks is currently offline Bernhard DerksFriend
Messages: 2
Registered: June 2018
Junior Member
Hi there,
i configured (seems not complete) a project in BIRT with data tables.

So i have a report with a table, and i used the script
<link rel="stylesheet" type="text/css" href="/datatables/datatables.css">
 
<script type="text/javascript" charset="utf8" src="/datatables/datatables.js">
head.load("/datatables/DataTables-1.10.18/css/jquery.dataTables.min.css","/datatables/DataTables-1.10.18/js/jquery.dataTables.min.js",function(){
    console.log("DataTables framework loaded...");
    $("#myTable").DataTable();  //"myTable" should be the bookmark of the table
    console.log("Interactive table is ready!"); 
});

</script>

for that.
Now, running the report i get the message
org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "myTable": ReferenceError: "myTable" is not defined. (#1)

I read, that "myTable" should be the bookmark of the table.
But i gave myTable as bookmark, and also as Bookmark name.
Also tried as Table name in properties...

Any hints for me? Would be nice, so thanks in advance...

Bernhard
Previous Topic:Native Javascript Reference Errors
Next Topic:Get BIRT reports through the web service BIRT
Goto Forum:
  


Current Time: Sat Nov 17 06:49:27 GMT 2018

Powered by FUDForum. Page generated in 0.02191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top