You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
Is there a way to reload column properties after the table's been loaded?
I've got tabs setup in my project and when clicking a tab, it sends a new data object in the resolve of a promise. The issue is when clicking one of the tabs, the render function on one of the columns changes, but it's not being run to show currency instead of numbers.
I noticed you could do $scope.dtOptions.fnPromise = () like you did here: https://l-lin.github.io/angular-datatables/#/dataReloadWithPromise. But I believe the intended way is $scope.dtOptions.withFnPromise(). This is important because if you can do that, then there must be some way to modify the column properties after the table's loaded such as $scope.dtOptions.aoColumns = table.columns.
In angular-datatables.js:420, I see angular.extend(options, dtOptions);. Does this have anything to do with why options aren't mutable after the fact?