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.
精彩评论