Thanks Jens and Fille.

That was the problem. I forgot to initialize the datagrid. Can't beleive 
how I missed that.

Thanks a ton for you help.

RAJ

On Tuesday, August 7, 2012 9:53:00 AM UTC-4, Jens wrote:
>
> 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/-/_4LPm79wZ-kJ.
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