GWT中的CellList无法清除它 [英] CellList in GWT, can't clear it

查看:101
本文介绍了GWT中的CellList无法清除它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在GWT中清除CellList,我做了一些研究并找到了一篇文章,其中一些人解释说使用replaceAllChildren(),但CellList类中没有方法。我与GWT 2.3。
实际上,这个方法出现在AbstractHasData类中,该类从CellList类扩展但不可用。



任何想法如何清除它?

谢谢

解决方案

您是否试过 cellList.setRowCount(0)


I can't clear CellList in GWT, i have done some research and found a post where some guy explain that using replaceAllChildren() but there is no method in CellList class. I m with GWT 2.3 . Actually this method present in class AbstractHasData which is extended from CellList class but unavailable.

Any ideas how can i clear it?

Thanks

解决方案

Have you tried cellList.setRowCount(0) ?

这篇关于GWT中的CellList无法清除它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆