We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a problem with safeCopy. When table controller is starting the var safeCopy is not properly setted. The solution is that:
Add to the stTableController this code:
this.safeCopy = function(){ copyRefs(displayGetter($scope)); };
And the post link of pipe directive must become:
post: function (scope, element, attrs, ctrl) { ctrl.pipe(); ctrl.safeCopy(); //The function added before }
Otherwise the function "function select (row, mode)" will see var rows void.
The text was updated successfully, but these errors were encountered:
The issue was not resolved by previous message due the asynchronous nature of pipe.
with the following piece of code at the end of stTableController i have resolved my problem:
$scope.$watch($attrs.stTable, function() { safeCopy = copyRefs(displayGetter($scope)); });
Sorry, something went wrong.
This solution worked also for me.
duplicate of #390
No branches or pull requests
There is a problem with safeCopy. When table controller is starting the var safeCopy is not properly setted. The solution is that:
Add to the stTableController this code:
this.safeCopy = function(){
copyRefs(displayGetter($scope));
};
And the post link of pipe directive must become:
post: function (scope, element, attrs, ctrl) {
ctrl.pipe();
ctrl.safeCopy(); //The function added before
}
Otherwise the function "function select (row, mode)" will see var rows void.
The text was updated successfully, but these errors were encountered: