-
Notifications
You must be signed in to change notification settings - Fork 303
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
TypeError: this.getObjectValue is not a function #8
Comments
@jeroenherczeg You modification is correct. I just wonder why I never got the error and made me overlook it. Will fix it tonight though. Many thanks for reporting. |
@jeroenherczeg Done. If something looks strange to you, please do not hesitate to let me know. Thanks again for reporting. :) |
`npm install npm ERR! No compatible version found: vuetable@^1.0.10 I think you have to bump the version number on the npm site? |
@jeroenherczeg Can you please try again? |
success! vuetable@1.0.10
in de getObjectValue function
Maybe I am doing something wrong, if it works for you? |
@jeroenherczeg Can you please put your code on gist or somewhere that I can have a look if you don't mind? |
I'm facing same issue. Anyway I also have problems with the data returned by my Laravel API call. Basically the table render with just written "No relevant data" but the function called return actually all the information required as json so I can't understand why it is not working. |
@midium The only problem I can think of is there might be some problem in mapping the pagination section of your JSON data structure to |
@midium @jeroenherczeg Try adding
I've just started playing with this component, ran into the same issue and that fixed it for me. @ratiw - thanks for sharing this, looks like a great lightweight and useful component! |
@midium @jeroenherczeg Please see more info on this section of Wiki Data Format. @mozami - Glad you find it useful. But I think the documentation I put on Wiki pages might not be good enough. I'm really not a good writer. Thanks for helping out anyway. :) |
@ratiw Still figuring things out myself - if I do find anything I can improve, I will contribute |
@mozami I've tried your solution and at least now I see displaying 0 of 0 but anyway the data returned by the call to laravel is not empty, going to check better the data structure and in case will post it here. Edit |
Would be nice if the component is able to understand if the data passed is with pagination or not, but maybe this is better to be kept as developer responsibility |
@midium In the next release, a warning will be dump to console if it cannot find the given |
just wanted to say thanks for this issue / resolve with pagination-path="" I was struggling because I really wanted to use this with Laravel and could not figure out why it wasn't working... it's great though! thanks! |
This also helped me. Most applications would return JSON rows of the records without having to provide info on pagination (pagination happens on client side in this case). But this module uses server side pagination. I believe this should be noted in README.md. Most developers assume that the api-url will return the data rows without having pagination information (on the response). |
I don't know if it is related to me or with the 1.0.9 release
But with a very basic setup, i get TypeError: this.getObjectValue is not a function
The text was updated successfully, but these errors were encountered: