X-Git-Url: https://git.infodrom.org/?p=infodrom%2Frico3;a=blobdiff_plain;f=minsrc%2FricoLiveGrid.js;h=d550aaf5e8f51634cb83ade507fd0e49ce6a78f4;hp=c69d93a7f55100203e7cebb522825afb2a5dd2e7;hb=ab25f937447080ebaca56778f6e62ad22b9d8cc8;hpb=36d52eb4a12019a01e458266b3e3cf604959b223 diff --git a/minsrc/ricoLiveGrid.js b/minsrc/ricoLiveGrid.js index c69d93a..d550aaf 100644 --- a/minsrc/ricoLiveGrid.js +++ b/minsrc/ricoLiveGrid.js @@ -1216,11 +1216,13 @@ Rico.LiveGridMethods = { newdiv.className = 'ricoLG_cell '+cls; newdiv.id=this.tableId+'_'+this.pageSize+'_'+c; this.columns[c].dataColDiv.appendChild(newdiv); - if (this.columns[c].format.canDrag && Rico.registerDraggable) - Rico.registerDraggable( new Rico.LiveGridDraggable(this, this.pageSize, c), this.options.dndMgrIdx ); - newdiv.innerHTML=' '; // this seems to be required by IE if (this.columns[c]._create) { this.columns[c]._create(newdiv,this.pageSize); + } else { + newdiv.innerHTML=' '; // this seems to be required by IE + } + if (this.columns[c].format.canDrag && Rico.registerDraggable) { + Rico.registerDraggable( new Rico.LiveGridDraggable(this, this.pageSize, c), this.options.dndMgrIdx ); } } this.pageSize++;