Finally i did by injecting plain javascript into gwt celltable..
private static native void loadDataJS_main(GWTExpandCollapse gwt)/*-{
$wnd.$(function() {
var inc = 0;
$wnd.jQuery('#btnId').click(function() {
inc++;
$wnd.$("#example tbody tr").each(function(i, object) {
console.log("inc vlaue"+inc)
if(inc%2==0){
$wnd.$('#example tbody .dispId').remove();
console.log("hide");
}else{
var safeHtml=
[email protected]::getRowValue(I)(i);
$wnd.$(object).after(safeHtml);
console.log("show");
}
});
});
});
}-*/;
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.