Monday, March 23, 2015

Re: Wrapping JavaScript into GWT CellTable

Hi Thomas,
 Sorry, the Suggestion which you are given is working fine I Use "flush()" statement after loading data 
 
        table.setRowData(loadContactInfo());  
        table.flush();    //flush force to render immediately
        loadGridData();    

         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
         }-*/; 

Thanks Thomas for your valuable suggestion.

Hi Thomas,
Thanks for your reply, I tried the both approaches but still I am getting the same JSO exception(undefined function) and I tried with adding Timer then its working but this is not a good solution with that i cannot proceed.Any Suggestion.

On Thursday, March 19, 2015 at 12:14:43 PM UTC+5:30, Abdullah wrote:
Use a scheduleFinally command, or call flush() to force immediate rendering: http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/cellview/client/AbstractCellTable.html#flush() 

--
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