본문 바로가기

SmartClient

grid, 데이터 변경 완료시 이벤트 처리 샘플

    dataProperties:{
        dataArrived:function (parentNode) {
            var ch = parentNode;
            this.openAll();
        }
}

 

,dataProperties:{
    dataArrived: function(startRow, endRow){
        console.log('#### startRow=' + startRow + ', endRow=' + endRow);
        R020_LISTGRID_ACTUAL_WEEKLY.freezeField('proj_id');
        R020_LISTGRID_ACTUAL_WEEKLY.freezeField('proj_desc');
        R020_LISTGRID_ACTUAL_WEEKLY.freezeField('process');
        R020_LISTGRID_ACTUAL_WEEKLY.freezeField('total');
    }
}