You can defer the invocation of domGeom.position(row) until the dgrid-refresh-complete event has been emitted. You'll need to include dojo/on. Aspect.after(grid, 'renderRow', function(row, args)...
I have a dgrid with renderRow set.
As it is now, I'm using aspect.after(grid.widget, 'renderRow', callback(row,args) to manipulate some some fields. Can I use the same method there?
renderRow: this.renderItem transferButton: this.removeButton }, this.toNode); handleSelection(this.to)
require([ 'dojo/_base/declare', 'dojo/on', 'dgrid/OnDemandList', 'dgrid/Selection', 'dstore/Memory', 'dojo/dom'
Aspect.after(grid, 'renderRow', function(row, args)...
I think you don't need the aspect after, since dgrid-refresh-complete is emitted after renderRow. Also each grid event is augmented to let you get the row or cell...
dojo dgrid. share|improve this question.
So you can do this in 1.8 much more easily: aspect.after(grid, "renderRow", function(row, args)
I guess I was looking for something equivalent on the dgrid side.