This repository was archived by the owner on Feb 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 490
Table still empty ($resource, $promise, with DataProp) #111
Labels
Comments
That's because, when using the promise renderer, angular-datatables is just resolving the promise before adding the data to the DataTable's data option and rendering the table. In short, |
Mmh it might be interesting to add this feature. |
is it possible to include the data later like this:
|
i did this now and it works
But i have a new question :D - maybe i generate a ticket later |
Be careful with this. It might have worked because you did not have a large amount of data. So you were "lucky" that the promise was resolved before the |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My JS:
My HTML:
The Response of Query:
U see i put DataProp to "results" coz results are a nested in object - beside are other infos like count of all parties etc...
ServerSide is a Grails application (but nevermind...)
My table is empty (data is loaded, but empty)... can u maybe explain me what is wrong?
The text was updated successfully, but these errors were encountered: