-
Notifications
You must be signed in to change notification settings - Fork 31
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
GMD-Table RC6 old loading issue #28 #85
Comments
You don't need to use the load callback anymore, you can add your columns and rows in the constructor of your View. Try moving the load callback code into the View constructor and let me know. |
Hi in GWTP the new table initialization (rc6) is not working and you get many exception I hope I can show you with my Example:
I don't know, what's going on here, but I can't run the table-addin rc6 in GWTP. Here is my GWTP-View
|
Well you're attempting to manipulate the DOM before it is attached, in the case of accessing the stretch icon for example should be in the onLoad, however I could change it so all the widgets are created in the construction to avoid these issues. BUT there should be a standard to how we manage our widgets and generally onLoad/onUnload should be managed by your application. |
Hi The IDE-Live code analysis (IDEA) shows there is something wrong. This is not in my hand. Only DataTable RC5 with the Callback-Function was working perfect. The GMD-Demo Table RC-6 shows this "Load" problem again Look here: Thanks |
The data table hasn't been updated yet. None the less I will readd the load callback for the time being in the SNAPSHOT. However I will be updating as I mentioned in my last message. |
Readded the callback for now 3a37978 |
Great! 2.0-SNAPSHOT\gwt-material-table-2.0-20170811.101807-64.jar tested and the Tables in the GWTP-Application are working again; 😃 Thank you! |
Great. So now everything can be done in the constructor, so the setLoadCallback isn't required anymore. Feel free to test it and let me know if you have any troubles. |
Hi, First the good news:
But with the new 2.0-SNAPSHOT\gwt-material-table-2.0-20170821.231700-83.jar The following exception is thrown.
When I switch back to rc6 with the setLoadCallback function all is working fine! |
This error doesn't make any sense, are you extending and overriding any default InfiniteDataView methods? Seems like a bad cache issue, can you make sure your cache is cleaned and try again? If it still isn't working can you send me the basic implementation for me to look at? See if I can spot the issue. Thanks! |
Hi, may be the exception above was really a cache issue.
First you get a endless loop at table.getView().refresh();. And If you comment out the line I have change all MaterialInfiniteDataTable to MaterialDataTable in my project.
|
Thanks for the information, can you try it on the latest snapshot (updated recently) I made a few fixes to the InfiniteDataView that might resolve these issues. |
Hi, I tested the latest MaterialInfiniteDataTable |
Hi, Attention
Exception: Row-Click Listener
Update: Thanks |
Hi, after the Major loading improvements to address #19 & #11.
The table load again on each back navigation (attach).
Same issue on GWT-Material Demo.
By the way: The old RC5 setLoadedCallback method worked perfect in GWTP.
Thank you very much
The text was updated successfully, but these errors were encountered: