在GWT中向DataGrid添加自定义窗口小部件(add custom widget to DataGrid in GWT)

编程入门 行业动态 更新时间:2024-10-28 08:23:30
在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"

本文发布于:2023-07-23 01:17:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1225558.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   部件   中向   窗口   DataGrid

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!