Skip to content

Commit

Permalink
enable register cell without element
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhsan017 committed Dec 20, 2015
1 parent 53bd145 commit cbf897f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions php-build/include/sheet/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ sheet.fx.init = function(){
sheet.registerCell($cell);
});


for(var cellAddr in this.config.data){
if(typeof(this.cells[cellAddr]) == 'undefined'){
$cell = new cell(sheet, undefined, cellAddr);
sheet.registerCell($cell);
}
}

//sheet.buildCellDependency();
sheet.attachEvent();
};

0 comments on commit cbf897f

Please sign in to comment.