禁用GWT CellList的选择 [英] Disable Selection for GWT CellList
问题描述
我正在尝试建立一个类似于kayak.com的网站,至少在显示和过滤结果方面.我正在使用GWT,并已构建了一个使用CellList来显示结果的Composite小部件.
I'm trying to build a website similar to kayak.com, at least with respect to how it displays and filters results. I'm using GWT and have built a Composite widget which uses a CellList to display the results.
我对如何选择单元格不满意.我尝试将CellList的SelectionModel设置为NoSelectionModel的实例,但这似乎不起作用.真的,我只想在每个单元格中显示一些文本和一些超链接,并且仅当鼠标悬停在超链接上时才向用户提供视觉反馈(更改鼠标指针等).
I'm not happy with how the cells are selectable. I've tried setting the SelectionModel of the CellList to an instance of NoSelectionModel, but that doesn't seem to work. Really, I just want to display some text and a few hyperlinks in each cell and only give the user visual feedback (change the mouse pointer, etc.) when the mouse is over a hyperlink.
推荐答案
查看它是否对您有用:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/2327336e09ab29d1
这篇关于禁用GWT CellList的选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!