+ var sm = this.grid.selModel;
+
+ //Roo.log(rowIndex);
+
+ if (sm.getSelectedCell) {
+ // cell selection..
+ if (!sm.getSelectedCell()) {
+ return false;
+ }
+ if (rowIndex != sm.getSelectedCell()[0]) {
+ return false;
+ }
+
+ }
+ if (sm.getSelections && sm.getSelections().length < 1) {
+ return false;
+ }
+
+
+ // before it used to all dragging of unseleted... - now we dont do that.