Comments (4)
I will consider making it possible to initialize the table before the DOM has been attached. Will look into that over the next few days.
from gwt-material-table.
If I remember correctly a GWTP view has an onAttached method that is called when the View is attached.
Verified here: https://github.com/ArcBees/GWTP/blob/master/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewImpl.java#L188
from gwt-material-table.
You are right, but onAttach() method is called every time presenter will be put to slot.
So in this case I need do something like:
...
private boolean initDone=false;
...
protected void onAttach(){
if (initDone) return;
...
table.addColumn(...);
initDone=true;
}
Seems that it is not looks nice...
from gwt-material-table.
Fixes are in the latest SNAPSHOT and the rc6
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.