I am not getting my DtInstance populated after rendering. Anyone faced this issue.
<
I am using
.withOption('serverSide', true).withFnServerData(getDataFromServer)
and I was having the same issue, but it was resolved with the following code:
Controller
$scope.dtInstance = {};
$scope.dtIntanceCallback = function (instance) {
$scope.dtInstance = instance;
}
$scope.dtRebind = function () {
$scope.dtInstance.DataTable.draw()
}
HTML