Sha256: 5cf038ae4aa14500c29f0c1feed2a4281647902c5f4c4bc1552638a2f902edbd

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

//>>built
define("dojox/grid/_RowManager",["dojo/_base/declare","dojo/_base/lang","dojo/dom-class"],function(_1,_2,_3){
var _4=function(_5,_6){
if(_5.style.cssText==undefined){
_5.setAttribute("style",_6);
}else{
_5.style.cssText=_6;
}
};
return _1("dojox.grid._RowManager",null,{constructor:function(_7){
this.grid=_7;
},linesToEms:2,overRow:-2,prepareStylingRow:function(_8,_9){
return {index:_8,node:_9,odd:Boolean(_8&1),selected:!!this.grid.selection.isSelected(_8),over:this.isOver(_8),customStyles:"",customClasses:"dojoxGridRow"};
},styleRowNode:function(_a,_b){
var _c=this.prepareStylingRow(_a,_b);
this.grid.onStyleRow(_c);
this.applyStyles(_c);
},applyStyles:function(_d){
var i=_d;
i.node.className=i.customClasses;
var h=i.node.style.height;
_4(i.node,i.customStyles+";"+(i.node._style||""));
i.node.style.height=h;
},updateStyles:function(_e){
this.grid.updateRowStyles(_e);
},setOverRow:function(_f){
var _10=this.overRow;
this.overRow=_f;
if((_10!=this.overRow)&&(_2.isString(_10)||_10>=0)){
this.updateStyles(_10);
}
this.updateStyles(this.overRow);
},isOver:function(_11){
return (this.overRow==_11&&!_3.contains(this.grid.domNode,"dojoxGridColumnResizing"));
}});
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojox-rails-0.11.0 vendor/assets/javascripts/grid/_RowManager.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/grid/_RowManager.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/grid/_RowManager.js