Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, {
- /**
- * Override this function to apply custom css classes to rows during rendering
- * @param {Record} record The record
- * @param {Number} index
- * @method getRowClass
- */
+
rowClass : "x-grid-row",
cellClass : "x-grid-col",
// buffers
var buf = [], lbuf = [], cb, lcb, c, p = {}, rp = {}, r, rowIndex;
var hasListener = this.grid.hasListener('rowclass');
+
var rowcfg = {};
for(var j = 0, len = rs.length; j < len; j++){
r = rs[j]; cb = []; lcb = []; rowIndex = (j+startRow);
if(r.dirty && typeof r.modified[c.name] !== 'undefined'){
p.css += p.css ? ' x-grid-dirty-cell' : 'x-grid-dirty-cell';
}
+
var markup = ct.apply(p);
if(!c.locked){
cb[cb.length] = markup;