Comments (9)
What version of GWT are you using?
from gwt-material-table.
2.8rc2
thanks
On Sep 10, 2016 1:41 AM, "Ben Dol" [email protected] wrote:
What version of GWT are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#9 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVFV-MLQasvZQg_6j4cnzXPUdkn9VQZNks5qokMLgaJpZM4J5gSB
.
from gwt-material-table.
I have also encountered this problem. It shows up as an infinite table not loading additional records after the initial population, with the console being spammed as above.
The problem comes from InfiniteDataView:213
JQueryExtension.$(tableBody).scrollY(name, (e, scroll) -> onScrollY(e));
Removing the lamba does not fix the problem, aka:
JQueryExtension.$(tableBody).scrollY(name, new FuncRet2<Event, String>() {
@Override
public Object call(Event e, String scroll) {
return onScrollY(e);
}
});
However, if you remove the JQueryExtension, it appears to work.
$(tableBody).on("scroll.infdataviewtest", (e) -> onScrollY(e));
Please let me know if there is anything else I can do to help track down the source of this problem.
Versions:
- GWT: 2.8.0
- gwt-material: 2.0-SNAPSHOT
- gwt-material-table: 1.0-rc1
- gwt-material-query: 1.0-rc1
- com.github.gwtmaterialdesign.gwt-material: 2.0-SNAPSHOT
from gwt-material-table.
Can you provide the exception details?
from gwt-material-table.
When you scroll down the infinite data view, the browser spams the console with: "Uncaught TypeError: Cannot read property 'material' of undefined(…)". The problem comes from a reference to "$wnd.gwt.material.design.jquery.client.api.jQuery". I have manually verified that $wnd.gwt is null.
Doing a quick grep, it looks like this is the only reference to $wnd.gwt I can find in the old generated code output. The changes above remove the reference in the generated output. Finally, this does not happen in superDevMode, only after being generated and deployed.
from gwt-material-table.
Thanks for the thorough investigation, I will look into the issue now.
from gwt-material-table.
Resolved the issue in the release_1.0
branch, can you confirm that its resolved?
from gwt-material-table.
@BenDol Everything look good. Thank you for the quick turnaround!
from gwt-material-table.
👍
from gwt-material-table.
Related Issues (20)
- Column.delegate setter should return "this"
- scrollTo (End/Start/Row/Value) missing HOT 1
- DataTable -Add Display Type - DEFAULT and Responsive HOT 1
- DataTable - RowLongPressHandler isnt triggered on mobile device. HOT 1
- setDensity() Compact not showing Table compact view
- Allow multiple rows in a table to be merged for some columns.
- Combobox selected items overflowing to the next row.
- Support Select All/Deselect All on a combobox.
- Frozen Columns & Paged Datatable HOT 1
- Accessibility Enhancements : Support Focusable Rows and other table components. HOT 4
- MaterialDataTable(scaffolding) is using default HOT 1
- ((intermediate value) (intermediate value), $wnd).$.$scrollBarWidth is not a function HOT 1
- Striped style not applied HOT 1
- BaseRenderer#drawRow does not consider column offset HOT 1
- Updating table layout / columns breaks column toggling HOT 3
- Sticky components (Header & Footer & Category) performance issue on firefox due to rendering calculation.
- MaterialDataTable does not sort correctly
- 2.5 -> 2.6 Error when adding the first column to the HOT 3
- Alignment of column headers not working
- Mouse Wheel scroll in a GMD-Table with StickyHeader on Chrome doesn't work properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-material-table.