Skip to main content



      Home
Home » Archived » BIRT » Problems integrating Datatables
Problems integrating Datatables [message #1791283] Wed, 27 June 2018 11:00
Eclipse UserFriend
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: Tue Mar 25 02:59:45 EDT 2025

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

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

Back to the top