开发者

Get ListView selected item in gxt 2.0.1

I have a listview(gxt) with 2 columns, Name and Address. I've loaded the clients onto the listview(gxt), and now I want to select a client on the listview, a开发者_开发知识库nd each time another listview box will display the Name & Address of the selected client. How can I do that?


Have a look at Listview.getSelectionModel().select(..)

Or you mean select using the mouse? You will need to listen for the Select event. In this case have a look at: ListView Java Doc, Events: Select...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜