I implemented the JScrollPane for a cleaner look inside my Page.
function scrollPane() {
$(".gwt-content").jScrollPane();
}
A custom Widget gets added:
$(".jspPane").append($(new Content());
works
$(html).click(new Function() {
public boolean f(Event e) {
System.out.println("yo");
return true;
}
});
doesn't
html.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
System.out.println("yo1");
}
});
html is a HTML Widget with some Text and another HTML widget in it.
The real problem is: I want to add a CellTable into the jspPane, but the listener in the ClickableTextCell is removed. I don't know if I can implement a CellTable and use GWTQuery to add a ClickListener.
Well, any help is appreciated, if you need more infos or source tell me.
Thanks