records = user.grid.getSelectionModel().getSelections() 多选,返回的是数组
取数据:arrs = records.data.[i]
record = user.grid.getSelectionModel().getSelected() 单选
取数据:arrs = records.data.[i]
record = user.grid.getSelectionModel().getSelected() 单选
record = records.data.userId
本文转自 wbb827 51CTO博客,原文链接:http://blog.51cto.com/wbb827/1342123