papasi
20 Mar 2007, 3:42 PM
line 202 of widgets\grid\GridView.js
instead of
record = ds.getAttribute(index);
it should be
record = ds.getAt(index);
looks like that the editor auto completes and appends the extra "tribute"
Thanks.
refreshRow : function(record){
var ds = this.ds, index;
if(typeof record == 'number'){
index = record;
record = ds.getAttribute(index);
}else{
index = ds.indexOf(record);
}
var rows = this.getRowComposite(index);
var cls = [];
this.insertRows(ds, index, index, true);
this.onRemove(ds, record, index+1, true);
this.syncRowHeights(index, index);
this.layout();
this.fireEvent("rowupdated", this, index, record);
},
instead of
record = ds.getAttribute(index);
it should be
record = ds.getAt(index);
looks like that the editor auto completes and appends the extra "tribute"
Thanks.
refreshRow : function(record){
var ds = this.ds, index;
if(typeof record == 'number'){
index = record;
record = ds.getAttribute(index);
}else{
index = ds.indexOf(record);
}
var rows = this.getRowComposite(index);
var cls = [];
this.insertRows(ds, index, index, true);
this.onRemove(ds, record, index+1, true);
this.syncRowHeights(index, index);
this.layout();
this.fireEvent("rowupdated", this, index, record);
},