在GWT中向DataGrid添加自定义窗口小部件(add custom widget to DataGrid in GWT)
我试图在GWT中的DataGrid单元格中添加自定义窗口小部件。 小部件有2个锚点,我希望能够根据点击的锚点选择要采取的动作。 有没有关于如何做到这一点的例子。 我的窗口小部件呈现但无法处理点击事件。
谢谢
I am trying to add a custom widget in a DataGrid cell in GWT. The widget has 2 anchors and I want to be able to choose the action to take depending on the anchor clicked. is there any example on how to do this. My widget renders but it is unable to handle the clicks events.
Thanks
最满意答案
使用单元格窗口小部件,您必须使用单元格。 不过,这是一种不同的思维方式,构建UI和处理事件。
With cell Widgets, you have to use cells. It's a different way of thinking, building the UI and handling events, though.
更多推荐
widget,窗口,部件,电脑培训,计算机培训,IT培训"/> <meta name="description"
发布评论