root / trunk / web / dojo / dojox / grid / enhanced / dnd / _DndGrid.js
History | View | Annotate | Download (731 Bytes)
1 | 9 | andrej.cim | /*
|
---|---|---|---|
2 | Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||
3 | Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
4 | see: http://dojotoolkit.org/license for details
|
||
5 | */
|
||
6 | |||
7 | |||
8 | if(!dojo._hasResource["dojox.grid.enhanced.dnd._DndGrid"]){ |
||
9 | dojo._hasResource["dojox.grid.enhanced.dnd._DndGrid"]=true; |
||
10 | dojo.provide("dojox.grid.enhanced.dnd._DndGrid");
|
||
11 | dojo.require("dojox.grid.enhanced.dnd._DndEvents");
|
||
12 | dojo.declare("dojox.grid.enhanced.dnd._DndGrid",dojox.grid.enhanced.dnd._DndEvents,{select:null,dndSelectable:true,constructor:function(_1){ |
||
13 | this.select=_1;
|
||
14 | },domousedown:function(e){ |
||
15 | if(!e.cellNode){
|
||
16 | this.onRowHeaderMouseDown(e);
|
||
17 | } |
||
18 | },domouseup:function(e){ |
||
19 | if(!e.cellNode){
|
||
20 | this.onRowHeaderMouseUp(e);
|
||
21 | } |
||
22 | }}); |
||
23 | } |