Is there any other way to Handle?
On Thursday, March 19, 2015 at 12:14:43 PM UTC+5:30, Abdullah wrote:
-- On Thursday, March 19, 2015 at 12:14:43 PM UTC+5:30, Abdullah wrote:
Hi,In GWT Cell Table I am wrapping jquery functionality (like grouping) Using JSNI. But its throwing JavaScriptObject Exception(function is undefine).I am calling this JSNI method once after the data is loadedtable.setRowData(loadContactInfo()); //To Load DataloadGridData(); //Calling JSNI For Groupingprivate List<ContactInfor> loadContactInfo() {// To load dataList<ContactInfor> lstContact = new ArrayList<ContactInfor>();lstContact.add(new ContactInfor("XXX", "YYY", "t", "26", "0300",BigStreet"));return ContactInfor;}public static native void loadGridData()/*-{//calling js for grouping functionality which contains table tr element}-*/;Since its taking some few millisecond to redraw the cell table before that itself the JSNI method is called which throws JSO exception.Is there any other to wrap the JS into Cell table after the data gets loaded and Rendered? Any Suggestion on this?
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