Don't you get a NullPointerException? Your "dataGrid" variable should be 
null until you call initWidget(uiBinder.createAndBindUi(this)) which fills 
all the @UiField variables.

Rule of thumb: Access a @UiField after 
initWidget(uiBinder.createAndBindUi(this)) has been called and if you use 
@UiField(provided = true) initialize the variable yourself before 
initWidget(uiBinder.createAndBindUi(this)) is called.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Ma6j_fx40R4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to