Sunday, March 30, 2014

Re: How to @Override Comparator to make the Column in CellTable sort based on Integer not based on String (GWT)?

Thank you very much for your answer. So we have to use Integer when declare property of object then.

On Monday, March 31, 2014 1:31:48 AM UTC+11, Jens wrote:
Integer.parseInt() does not return an Integer object, it returns a primitive int.

You want Integer.valueOf().

-- J.

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