Friday, July 6, 2012

Re: CellTable display in DialogBox

I Found !!!!

cellTable can emit ValueChangeEvent when data is display on the screen

i make that :

        cellTable.addHandler(new ValueChangeHandler<T>(){
            @Override
            public void onValueChange(ValueChangeEvent<T> event) {

                 // DO THE RIGHT THING !!
                myDialogBox.center()

            }}, ValueChangeEvent.getType());



Le vendredi 6 juillet 2012 10:19:25 UTC, skalimer0 a écrit :
Hello,

I want to center a DialogBox when the cellTable is loaded (the celltable is include in the DialogBox).

The LoadingStateChangeHandler is just before the screen display and the center() function of the DialogBox is useless.

I want to know if an Event exist just after the screen refresh of the cellTable tp solve my problem.

Thanks


--
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/-/SwCq2zZmLG0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment