Questions tagged [gwtquery]

GwtQuery a.k.a. gQuery is a jQuery-like API written in GWT. It offers the possibility to use the jquery api in gwt projects.

gQuery offers a set of plugins to enhance your gwt projects, and it also allows to easily rewrite (port) jquery-code and jquery-plugins for gwt.

gQuery additionally's plenty of features like its Type safe system, its Ajax api, and its data-binding handling, which make that to consume 3party services were much easier than using RequestBuilder.

96 questions
17
votes
2 answers

Calling GWT Java function from JavaScript

I am a newcomer to GWT and JavaScript. There are similar question of this type I have tried to follow, but I keep failing. I have a GWT app, I need to call a Java function from Javascript( on the onclick of a href tag, in particular.) Following is…
frodo
  • 1,561
  • 3
  • 21
  • 36
12
votes
3 answers

Use jquery inside GWT jsni

I am not able to use $("#"+profileId).offset().top from inside my gwt jsni function. I tried this $wnd.$("#"+profileId).offset().top but this is also not working. I feel i am missing syntax here. Could anybody help
javalearner
  • 3,314
  • 7
  • 26
  • 33
6
votes
3 answers

How to begin working with GwtQuery?

I've dived into the GWT world a couple of months ago and find it quite interesting. I'm currently developing a web application which is to be used internally and so we need to resize the browser window, which can only be done by JSNI. After hitting…
Ittai
  • 5,625
  • 14
  • 60
  • 97
6
votes
2 answers

jQuery.Deferred() / Promises functionality in GWT?

Recently, I've discovered I really like jQuery.Deferred() and the features it gives you to handle asynchronous flow control (Promises). I suppose the things I like the most ar the callback hooks for an Ajax request (.done() and .fail() ) and…
blong
  • 2,815
  • 8
  • 44
  • 110
4
votes
3 answers

in GWT, How to add a row on top of header of celltable?

This is very interesting, how can we add a row on top of header of celltable in GWT? Ok, Say,GWT Header only support sorting, but i want to do other stuffs on each of the column as well (such filter, hide, ....) So i want to add a row on top of…
Tom
  • 825
  • 1
  • 8
  • 28
3
votes
2 answers

File upload with a progress bar, or accessing the Html 5 File Api from Google Web Toolkit?

I'm looking for a way to do file uploads, with a custom progress bar, with google web toolkit. Not looking for a plugin which shows its own progress bar, I'm rather looking for something which will call my callback method and notify it of progress,…
Ali
  • 261,656
  • 265
  • 575
  • 769
3
votes
2 answers

Using jquery plugins with Google Web Toolkit?

Is it possible to use jquery plugins within google web toolkit? There are a lot of excellent plugins available for various UI widgets, such as date/time pickers, searchable dropdowns, etc. In many cases these plugins also come with their own css…
Ali
  • 261,656
  • 265
  • 575
  • 769
3
votes
1 answer

gwt-query - nested draggable propagation

I've written the following code: HorizontalPanel draggable = new HorizontalPanel(); Function startDragParent = new Function () { @Override public boolean f (Event e) { // some code here... return false; } }; Function dragParent =…
user743489
3
votes
1 answer

GwtChosen not playing well with GWT LayoutPanel and RootLayoutPanel

I am using GwtChosen 1.1.0 and GwtQuery 1.3.3. It seems to play nice only with RootPanel widgets and not RootLayoutPanel widgets. Is being not usable with RootLayoutPanel a known limitation with GwtChosen? Sample Code and screenshots below. Notice…
appbootup
  • 9,537
  • 3
  • 33
  • 65
3
votes
2 answers

Using GWTquery with GWT

Can anyone tell me how to use GWTquery along with GWT? The GWTquery tutorial page mainly deals with how to use jQuery, it doesn't much explain how to embed it. If, for example, I want to use it with the default Stockwatcher app that comes with GWT,…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
3
votes
1 answer

GWT Drag and Drop within tree and between tree grids

We're using GWT and We're required to create two drag and drop tree grids. Each tree contains parents and children (max two level for now). Here's what we need to be able to do: Use cases Drag a parent from one tree grid to the other. Drag a…
Nuno Gonçalves
  • 6,202
  • 7
  • 46
  • 66
2
votes
2 answers

Get scrollHeight of a DIV

I am trying to get the scrollHeight of a div with this code: GQuery element = $(".pre.line-numbers"); String height = element.attr("scrollHeight"); Window.alert(height); // empty! $("pre.line-numbers") .css("overflow-y",…
xkm
  • 271
  • 2
  • 4
  • 11
2
votes
1 answer

GwtQuery best practice

What is the best way to build a large app (really large) with GwtQuery use it with Gwt Mvp i.e. Activities / places ? use it with Mvp4G or Gwtp like framework ? use it alone ? Any pointers shall be helpful
Gautam
  • 1,030
  • 13
  • 37
2
votes
2 answers

How to get a reference to the Window object using GWTQuery?

The title pretty much says it all. I'm trying to use jQuery's ability (hoping GWTQuery has implemented it) to pass a callback function to the window.resize something like this(example from jquery site): $(window).resize(function(){ alert("Stop…
Ittai
  • 5,625
  • 14
  • 60
  • 97
2
votes
2 answers

GWT Timer cancel not working

I am trying to write a code to differentiate between simgle and double clicks using GWT and GWTQuery. I got the idea here. So I translated it into GWT like this: (my app can't have global variables, so I am doing that part with element attributes…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
1
2 3 4 5 6 7