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++;