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

Allow user to specify table. #2

Merged
merged 1 commit into from
Mar 12, 2015
Merged

Allow user to specify table. #2

merged 1 commit into from
Mar 12, 2015

Conversation

jamesbrewerdev
Copy link

There are use cases where the table is not located at
$scope.$parent.ngTableParams.

One example is when using Angular's controllerAs syntax. In this case,
things are not usually stored on $scope.

This commit will not break existing uses of ngTableExport because the
code defaults to $scope.$parent.table when no table arugment is
provided.

There are use cases where the table is not located at
`$scope.$parent.ngTableParams`.

One example is when using Angular's controllerAs syntax. In this case,
things are not usually stored on `$scope`.

This commit will not break existing uses of `ngTableExport` because the
code defaults to `$scope.$parent.table` when no `table` arugment is
provided.
mwalz added a commit that referenced this pull request Mar 12, 2015
Allow user to specify table.
@mwalz mwalz merged commit 5057a0f into davisford:master Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants