Re: Injecting JavaScript(JSNI) to Cell Table DOM

2015-04-03 Thread Abdullah
Hi Frank, Thanks for your suggestion.. I added this in Scheduler Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override public void execute() { initTooltip(); } }); This Works for me.. > can you try: > $wnd.$($doc).ready( > > function(){ > $wnd.jQuery("[rel=tooltipTop]").toolti

Re: Injecting JavaScript(JSNI) to Cell Table DOM

2015-04-02 Thread Frank Taffelt
can you try: $wnd.$($doc).ready( function(){ $wnd.jQuery("[rel=tooltipTop]").tooltip({ placement: 'top'}); }); or skip the ready block your dom is already there... On Wednesday, April 1, 2015 at 6:22:36 PM UTC+2, Abdullah wrote: > > Hi, > In my application i am using GWT Cell Table, for

Injecting JavaScript(JSNI) to Cell Table DOM

2015-04-01 Thread Abdullah
Hi, In my application i am using GWT Cell Table, for some of the Column Header i want to add tooltip.Column Header is created by using SafeHtml and Injecting JS to cell table header using JSNI. But that time the DOM is not creating and JavaScript is not attaching to the column Header for toolti