Problems integrating Datatables [message #1791283] |
Wed, 27 June 2018 11:00 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02680 seconds