PDA

View Full Version : grid???????????



ak_ext
26 May 2009, 3:52 AM
grid?????????????

???
grid.getView().addRowClass(row, "x-grid3-row-over");
???????????

????????????????
addCellClass????????????????????????????

??????????????????????

Tommy1969
26 May 2009, 5:33 PM
Ext JS ????????????????renderer ???????????

return '<span style="color:red;">' + val + '</span>';

????????????????

http://extjs.com/deploy/dev/examples/grid/array-grid.html

?????????????

ak_ext
27 May 2009, 1:49 AM
???????????????????
??????????
var r = grid.getView().getCell(row, col)
if (r) {
grid.getView().fly(r).addClass(css.class);
}