开发者

Dojo DataGrid - Getting data store item from formatter?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜