dojox/grid/_RowManager.js

  • Provides:

    • dojox.grid._RowManager
  • dojox.grid._RowManager

    • type
      Function
    • parameters:
      • inGrid: (typeof )
    • source: [view]
         this.grid = inGrid;
    • summary
  • dojox.grid._RowManager.linesToEms

    • summary
  • dojox.grid._RowManager.overRow

    • summary
  • dojox.grid._RowManager.prepareStylingRow

    • type
      Function
    • parameters:
      • inRowIndex: (typeof )
      • inRowNode: (typeof )
    • source: [view]
         return {
          index: inRowIndex,
          node: inRowNode,
          odd: Boolean(inRowIndex&1),
          selected: !!this.grid.selection.isSelected(inRowIndex),
          over: this.isOver(inRowIndex),
          customStyles: "",
          customClasses: "dojoxGridRow"
         };
    • summary
  • dojox.grid._RowManager.styleRowNode

    • type
      Function
    • parameters:
      • inRowIndex: (typeof )
      • inRowNode: (typeof )
    • source: [view]
         var row = this.prepareStylingRow(inRowIndex, inRowNode);
         this.grid.onStyleRow(row);
         this.applyStyles(row);
    • summary
  • dojox.grid._RowManager.applyStyles

    • type
      Function
    • parameters:
      • inRow: (typeof )
    • source: [view]
         var i = inRow;


         i.node.className = i.customClasses;
         var h = i.node.style.height;
         setStyleText(i.node, i.customStyles + ';' + (i.node._style||''));
         i.node.style.height = h;
    • summary
  • dojox.grid._RowManager.updateStyles

    • type
      Function
    • parameters:
      • inRowIndex: (typeof )
    • source: [view]
         this.grid.updateRowStyles(inRowIndex);
    • summary
  • dojox.grid._RowManager.setOverRow

    • type
      Function
    • parameters:
      • inRowIndex: (typeof )
    • source: [view]
         var last = this.overRow;
         this.overRow = inRowIndex;
         if((last!=this.overRow)&&(dojo.isString(last) || last >= 0)){
          this.updateStyles(last);
         }
         this.updateStyles(this.overRow);
    • summary
  • dojox.grid._RowManager.isOver

    • type
      Function
    • parameters:
      • inRowIndex: (typeof )
    • source: [view]
         return (this.overRow == inRowIndex && !dojo.hasClass(this.grid.domNode, "dojoxGridColumnResizing"));
    • summary
  • dojox.grid._RowManager.grid

    • summary
  • dojox.grid

    • type
      Object
    • summary
  • dojox

    • type
      Object
    • summary