开发者

Dojo DataGrid - Getting data store item from formatter?

开发者 https://www.devze.com 2023-01-19 15:58 出处:网络
From what I\'ve seen, the formatter function in Dojo DataGrid is given the following arguments: cell value, cell row number, and the cell object itself. Can you suggest how to obtain data store item t

From what I've seen, the formatter function in Dojo DataGrid is given the following arguments: cell value, cell row number, and the cell object itself. Can you suggest how to obtain data store item to which this cell refers, given these arguments? Or if you can suggest an a开发者_如何学Clternative way, I'd be grateful.


Found it. The grid has a method called getItem(), which accepts row number as argument.

0

精彩评论

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