开发者

GWT - celltable

I have a c开发者_JS百科elltable which contains numbers in each column. Is there a way to add an extra row at the end of the celltable..which will show the sum of each column?

Thanks


Yes, the celltable has this constructor

 void   addColumn(Column<T,?> col, Header<?> header, Header<?> footer) 
          Adds a column to the table with an associated header and footer.

You can pass in your customr footer that sums up the values for all the rows.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜