开发者

IntegerColumn not available in GWT?

开发者 https://www.devze.com 2023-02-04 07:26 出处:网络
I am new to GWT andI am trying to make a simple table in GWT. The table has string and integer types. However, GWThas only TextColumns whic开发者_开发问答h returns only Strings.

I am new to GWT and I am trying to make a simple table in GWT. The table has string and integer types. However, GWT has only TextColumns whic开发者_开发问答h returns only Strings.

But there is no "IntegerColumns" which returns Integers, so what's the easiest way to design it ?

Right now I convert Integers to Strings but this solution is not suitable for sorting the columns.


Why don't you use Grid? Grid is able to store objects as rows; For example you want to have a look Grid

And maybe you'd like to see GXT samples

0

精彩评论

暂无评论...
验证码 换一张
取 消