Tuesday, June 23, 2015

Re: Injecting JSNI(Datatables.net) to GWT CellTable to hide/show rows

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() {
$wnd.$("#example tbody tr").each(function(i, object) { 
console.log("inc vlaue"+inc)
$wnd.$('#example tbody .dispId').remove();
var safeHtml= gwt.@com.my.sample.client.gwt.GWTExpandCollapse::getRowValue(I)(i);



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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment