if(!items || items.length == 0){return; }this._setupFields(items[0]);
dojo.forEach(items, function(item, idx){var row = this._createRow(item);
this._setRowId(item, request.start, idx);
this.setRow(row, request.start+idx);
}, this);
// FIXME: // Q: scott, steve, how the hell do we actually get this to update// the visible UI for these rows?// A: the goal is that Grid automatically updates to reflect changes// in model. In this case, setRow -> rowChanged -> (observed by) Grid -> modelRowChange -> updateRow