Skip to content
New issue

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

Re-render table error missing argument 'scope' #621

Closed
marcokorb opened this issue Feb 17, 2016 · 5 comments
Closed

Re-render table error missing argument 'scope' #621

marcokorb opened this issue Feb 17, 2016 · 5 comments
Labels
Milestone

Comments

@marcokorb
Copy link

Hi,

I'm using DTInstance.rerender() from defaultRenderer but with multiple calls I got a message in the console saying Argument 'scope' is required. First I thought that my code could be wrong so I decided to check the examples at http://l-lin.github.io/angular-datatables/#/rerender and the defaultRenderer example returned the same issue.

I'm trying to figure it out but no success until this post.

can someone help me?

Thanks

@l-lin l-lin added the bug label Feb 24, 2016
@l-lin l-lin added this to the v0.5.4 milestone Feb 24, 2016
@l-lin
Copy link
Owner

l-lin commented Feb 24, 2016

👍

@l-lin l-lin closed this as completed Feb 24, 2016
@andrecbr
Copy link

Some temporary fix?

@l-lin
Copy link
Owner

l-lin commented Feb 24, 2016

Either you apply the fix in your angular-datatables.js file, or you get the dev version.

@andrecbr
Copy link

Yep I apply the fix in angular-datatables.js file. Thanks for reply!

@alokps6295
Copy link

Yes I applyied the fix in the angular-datatable.js file by changing in render function
function rerender() {
oTable.destroy();
DTRendererService.showLoading(
$elem, $scope);
- render(
$elem);
+ render($elem,$scope);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants