Is there any other way to Handle?
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 loaded
>
>
> *table.setRowData(loadContactInfo()); //To Load Data*
> * loadGridData(); //Calling JSNI For Grouping *
>
>
>
> * private List<ContactInfor> loadContactInfo() { //
> To load data List<ContactInfor> lstContact = new ArrayList<ContactInfor>();
> lstContact.add(new ContactInfor("XXX", "YYY", "t", "26",
> "0300",Big Street")); 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 [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.