cellProcess : function (grid, target) {
var gridView = grid.getView();
var cnt=0;
var prevData = "";
var flagCell = "";
Ext.each(gridView.getNodes(), function(items){
var curData = items.childNodes[target]. textContent;
if(prevData != curData) {
flagCell = items.childNodes[target];
prevData = curData;
cnt=0;
} else {
cnt++;
Ext.get(items.childNodes[ target]).destroy();
}
if(cnt !=0) {
Ext.get(flagCell).set({ rowspan: cnt+1});
}
});
}
댓글 없음:
댓글 쓰기