PDA

View Full Version : Ext.grid.View.getRowClass does not supply record (pr2)



JorisA
25 Feb 2011, 4:07 AM
I'm not really sure if this is a bug or a feature, but it appears getRowClass does not give a record in its first argument.

shouldn't
preppedRecords[j]['rowCls'] = this.getRowClass(preppedRecords[j], j, rowParams, this.store);
be
preppedRecords[j]['rowCls'] = this.getRowClass(records[j], j, rowParams, this.store);?

aconran
25 Feb 2011, 1:43 PM
Thanks for the report, we still need a reference to the preppedRecord, but the signature will be changing slightly.