Hello I have searched everywhere and installed every package/type i find at google.
But TypeScript dont get my JavaScript Table
var datatable = $('#dc-data-table').dataTable(dataTableOptions) ; //red line in this row
datatable.fnDraw(false);
function RefreshTable() {
dc.events.trigger(function () {
datatable.api()
.clear()
.rows.add( tierDim.top(Infinity) )
.draw() ;
});
}
for (var i = 0; i < dc.chartRegistry.list().length; i++) {
var chartI = dc.chartRegistry.list()[i];
chartI.on("filtered", RefreshTable);
}
RefreshTable() ;
<div class="row" id="table">
<div class="col-md-12 " id="">
<h2>
List of all
</h2>
<table class="table table-hover table-condensed" id="dc-data-table"></table>
</div>
</div>
I get always the issue: Supplied parameters do not match any signature of call target.