开发者

custom gwt editable celltable

I would like to create Custom Gwt Ce开发者_开发知识库lltable with editable columns, where each column may accept any type of widget, is there way to do it, please let me know?

Thanks for your help.


The Cell system, by design, does not allow widgets to be added inside of a Cell. This is the point of the Cell idea - drawing many elements with a single instance, and letting that one instance handle the events for all of them.

This is how the various Cell-based widgets can perform better than the FlexTable or Grid, which allow widgets.

The closest you can get is to draw a Widget on some event sent to the Cell instance, but even there you must be careful to detach the widget when you are finished with it, or risk a memory leak.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜