This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Knowing when a widget is present in the DOMcbrock Feb 25, 2013 6:40 PM (in response to mdhirsch30345)1 of 1 people found this helpfulIf it's jQuery-based, then you can just use JSNI to execute a callback function in GWT once it's done. private native static void onReady(final Runnable runnable) /*-{ $wnd.$(runnable.@java.lang.Runnable::run()()); }-*/;Then you just pass a Runnable callback to anything you want done after jQuery has done its thing. 
- 
        2. Re: Knowing when a widget is present in the DOMmdhirsch30345 Feb 26, 2013 10:56 AM (in response to cbrock)Thanks Mike, that looks useful. What I found (almost immediately after posting :-( ) is that I can override onLoad() and get called after the widget is in the document. But the onReady() solution might be a better fit for jQuery, and I believe slickgrid is jQuery based. Michael 
 
    