}
- if(rowIndex !== false){
+ var sels = sm.getSelections ? sm.getSelections() : (
+ sm.getSelectedCell() ? [ this.grid.ds.getAt(sm.getSelectedCell()[0]) ] : []);
+
+ // before it used to all dragging of unseleted... - now we dont do that.
+ if(sels || sels.length){
// if editorgrid..
sm.handleMouseDown(e, t); // non modifier buttons are handled by row select.
}
- Roo.log("getDragData ????");
+ Roo.log("getDragData");
return {
grid: this.grid,
}
return false;
},
-
+
+
onInitDrag : function(e){
var data = this.dragData;
this.ddel.innerHTML = this.grid.getDragDropText();