-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
from moving from 3.x to 4.x set data source not working #845
Comments
onNewDatasource() is not used in the new version. please check the docs. |
In the Datasource section of the docs it says this is possible way to add datasource.
|
sorry for this. docs are out of date. i've fixed and they will be updated with the next release. |
Could you please share the solution with us? |
use:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i'm getting an error
to note that i did not need the
$scope.gridOptions.api.onNewDatasource();
when i was on 3.0.3just updated now and went through documentation and found this change.
without the
.api.onNewDatasource();
the issue was that nothing was displayed on the screenThe text was updated successfully, but these errors were encountered: