Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/grid/_Grid.js

  • Provides:

    • dojox.grid._Grid
  • Requires:

    • dijit.dijit in common
    • dijit.Menu in common
    • dojox.html.metrics in common
    • dojox.grid.util in common
    • dojox.grid._Scroller in common
    • dojox.grid._Layout in common
    • dojox.grid._View in common
    • dojox.grid._ViewManager in common
    • dojox.grid._RowManager in common
    • dojox.grid._FocusManager in common
    • dojox.grid._EditManager in common
    • dojox.grid.Selection in common
    • dojox.grid._RowSelector in common
    • dojox.grid._Events in common
  • dojox.grid._Grid

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dojox.grid._Events.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
      • dojox.grid._Events: (call)
    • summary
      A grid widget with virtual scrolling, cell editing, complex rows,
      sorting, fixed columns, sizeable columns, etc.
    • description
      _Grid provides the full set of grid features without any
      direct connection to a data store.
      
      The grid exposes a get function for the grid, or optionally
      individual columns, to populate cell contents.
      
      The grid is rendered based on its structure, an object describing
      column and cell layout.
    • example
      A quick sample:
      
      define a get function
      	function get(inRowIndex){ // called in cell context
      		return [this.index, inRowIndex].join(', ');
      	}
      
      define the grid structure:
      	var structure = [ // array of view objects
      		{ cells: [// array of rows, a row is an array of cells
      			[
      				{ name: "Alpha", width: 6 },
      				{ name: "Beta" },
      				{ name: "Gamma", get: get }]
      		]}
      	];
      
      	<div id="grid"
      		rowCount="100" get="get"
      		structure="structure"
      		dojoType="dojox.grid._Grid"></div>
  • dojox.grid._Grid.templatePath

    • type
      Object
  • dojox.grid._Grid.classTag

    • type
      String
    • summary
      CSS class applied to the grid's domNode
  • dojox.grid._Grid.rowCount

    • type
      Integer
    • summary
      Number of rows to display.
  • dojox.grid._Grid.keepRows

    • type
      Integer
    • summary
      Number of rows to keep in the rendering cache.
  • dojox.grid._Grid.rowsPerPage

    • type
      Integer
    • summary
      Number of rows to render at a time.
  • dojox.grid._Grid.autoWidth

    • type
      Boolean
    • summary
      If autoWidth is true, grid width is automatically set to fit the data.
  • dojox.grid._Grid.initialWidth

    • type
      String
    • summary
      A css string to use to set our initial width (only used if autoWidth
      is true).  The first rendering of the grid will be this width, any
      resizing of columns, etc will result in the grid switching to
      autoWidth mode.  Note, this width will override any styling in a
      stylesheet or directly on the node.
  • dojox.grid._Grid.autoHeight

    • type
      Boolean|Integer
    • summary
      If autoHeight is true, grid height is automatically set to fit the data.
      If it is an integer, the height will be automatically set to fit the data
      if there are fewer than that many rows - and the height will be set to show
      that many rows if there are more
  • dojox.grid._Grid.rowHeight

    • type
      Integer
    • summary
      If rowHeight is set to a positive number, it will define the height of the rows
      in pixels. This can provide a significant performance advantage, since it
      eliminates the need to measure row sizes during rendering, which is one
      the primary bottlenecks in the DataGrid's performance.
  • dojox.grid._Grid.autoRender

    • type
      Boolean
    • summary
      If autoRender is true, grid will render itself after initialization.
  • dojox.grid._Grid.defaultHeight

    • type
      String
    • summary
      default height of the grid, measured in any valid css unit.
  • dojox.grid._Grid.height

    • type
      String
    • summary
      explicit height of the grid, measured in any valid css unit.  This will be populated (and overridden)
      if the height: css attribute exists on the source node.
  • dojox.grid._Grid.structure

    • type
      dojox.grid.__ViewDef|dojox.grid.__ViewDef[]|dojox.grid.__CellDef[]|Array[dojox.grid.__CellDef[]]
    • summary
      View layout defintion.
  • dojox.grid._Grid.elasticView

    • type
      Integer
    • summary
      Override defaults and make the indexed grid view elastic, thus filling available horizontal space.
  • dojox.grid._Grid.singleClickEdit

    • type
      boolean
    • summary
      Single-click starts editing. Default is double-click
  • dojox.grid._Grid.selectionMode

    • type
      String
    • summary
      Set the selection mode of grid's Selection.  Value must be 'single', 'multiple',
      or 'extended'.  Default is 'extended'.
  • dojox.grid._Grid.rowSelector

    • type
      Boolean|String
    • summary
      If set to true, will add a row selector view to this grid.  If set to a CSS width, will add
      a row selector of that width to this grid.
  • dojox.grid._Grid.columnReordering

    • type
      Boolean
    • summary
      If set to true, will add drag and drop reordering to views with one row of columns.
  • dojox.grid._Grid.headerMenu

    • type
      dijit.Menu
    • summary
      If set to a dijit.Menu, will use this as a context menu for the grid headers.
  • dojox.grid._Grid.placeholderLabel

    • type
      String
    • summary
      Label of placeholders to search for in the header menu to replace with column toggling
      menu items.
  • dojox.grid._Grid.selectable

    • type
      Boolean
    • summary
      Set to true if you want to be able to select the text within the grid.
  • dojox.grid._Grid._click

    • type
      Array
  • dojox.grid._Grid.loadingMessage

    • type
      String
    • summary
      Message that shows while the grid is loading
  • dojox.grid._Grid.errorMessage

    • type
      String
    • summary
      Message that shows when the grid encounters an error loading
  • dojox.grid._Grid.noDataMessage

    • type
      String
    • summary
      Message that shows if the grid has no data - wrap it in a
      span with class 'dojoxGridNoData' if you want it to be
      styled similar to the loading and error messages
  • dojox.grid._Grid.escapeHTMLInData

    • type
      Boolean
    • summary
      This will escape HTML brackets from the data to prevent HTML from
      user-inputted data being rendered with may contain JavaScript and result in
      XSS attacks. This is true by default, and it is recommended that it remain
      true. Setting this to false will allow data to be displayed in the grid without
      filtering, and should be only used if it is known that the data won't contain
      malicious scripts. If HTML is needed in grid cells, it is recommended that
      you use the formatter function to generate the HTML (the output of
      formatter functions is not filtered, even with escapeHTMLInData set to true).
  • dojox.grid._Grid.formatterScope

    • type
      Object
    • summary
      An object to execute format functions within.  If not set, the
      format functions will execute within the scope of the cell that
      has a format function.
  • dojox.grid._Grid.editable

    • type
      boolean
    • summary
      indicates if the grid contains editable cells, default is false
      set to true if editable cell encountered during rendering
  • dojox.grid._Grid.sortInfo

    • type
      Number
  • dojox.grid._Grid.themeable

    • type
      Object
  • dojox.grid._Grid._placeholders

    • type
      Object
  • dojox.grid._Grid._layoutClass

    • alias - dojox.grid._Layout
    • type
      Object
    • summary
      The class to use for our layout - can be overridden by grid subclasses
  • dojox.grid._Grid.buildRendering

    • type
      Function
  • dojox.grid._Grid.domNode.tabIndex

    • type
      String
  • dojox.grid._Grid.postMixInProperties

    • type
      Function
  • dojox.grid._Grid.lastScrollTop

    • type
      Number
  • dojox.grid._Grid.scrollTop

    • type
      Number
  • dojox.grid._Grid.postCreate

    • type
      Function
  • dojox.grid._Grid.domNode.style.width

    • type
      String
  • dojox.grid._Grid.destroy

    • type
      Function
  • dojox.grid._Grid.domNode.onReveal

    • type
      Object
  • dojox.grid._Grid.domNode.onSizeChange

    • type
      Object
  • dojox.grid._Grid._setAutoHeightAttr

    • parameters:
      • ah
      • skipRender
    • type
      Function
  • dojox.grid._Grid._autoHeight

    • type
      bool
  • dojox.grid._Grid._getRowCountAttr

    • type
      Function
  • dojox.grid._Grid.textSizeChanged

    • type
      Function
  • dojox.grid._Grid.sizeChange

    • type
      Function
  • dojox.grid._Grid.createManagers

    • summary
      create grid managers for various tasks including rows, focus, selection, editing
    • type
      Function
  • dojox.grid._Grid.rows

    • type
      Object
  • dojox.grid._Grid.focus

    • type
      Object
  • dojox.grid._Grid.edit

    • type
      Object
  • dojox.grid._Grid.createSelection

    • summary
      Creates a new Grid selection manager.
    • type
      Function
  • dojox.grid._Grid.selection

    • type
      Object
  • dojox.grid._Grid.createScroller

    • summary
      Creates a new virtual scroller
    • type
      Function
  • dojox.grid._Grid.scroller

    • type
      Object
  • dojox.grid._Grid.scroller.grid

    • type
      Object
  • dojox.grid._Grid.scroller.renderRow

    • type
      Object
  • dojox.grid._Grid.scroller.removeRow

    • type
      Object
  • dojox.grid._Grid.createLayout

    • summary
      Creates a new Grid layout
    • type
      Function
  • dojox.grid._Grid.layout

    • type
      Object
  • dojox.grid._Grid.onMoveColumn

    • type
      Function
  • dojox.grid._Grid.onResizeColumn

    • parameters:
      • cellIdx: (typeof int)
    • type
      Function
  • dojox.grid._Grid.createViews

    • type
      Function
  • dojox.grid._Grid.views

    • type
      Object
  • dojox.grid._Grid.views.createView

    • type
      Object
  • dojox.grid._Grid.createView

    • parameters:
      • inClass
      • idx
    • type
      Function
  • dojox.grid._Grid.buildViews

    • type
      Function
  • dojox.grid._Grid._setStructureAttr

    • parameters:
      • structure
    • type
      Function
  • dojox.grid._Grid.layout.structure

    • type
      Object
  • dojox.grid._Grid.focus.focusView

    • type
      Object
  • dojox.grid._Grid.setStructure

    • parameters:
      • inStructure: (typeof dojox.grid.__ViewDef|dojox.grid.__ViewDef[]|dojox.grid.__CellDef[]|Array[dojox.grid.__CellDef[]])
    • summary
      Install a new structure and rebuild the grid.
    • type
      Function
  • dojox.grid._Grid.getColumnTogglingItems

    • type
      Function
  • dojox.grid._Grid._setHeaderMenuAttr

    • parameters:
      • menu
    • type
      Function
  • dojox.grid._Grid.setHeaderMenu

    • parameters:
      • menu: (typeof dijit.Menu)
    • type
      Function
  • dojox.grid._Grid.setupHeaderMenu

    • type
      Function
  • dojox.grid._Grid._fetch

    • parameters:
      • start
    • type
      Function
  • dojox.grid._Grid.getItem

    • parameters:
      • inRowIndex
    • type
      Function
  • dojox.grid._Grid.showMessage

    • parameters:
      • message
    • type
      Function
  • dojox.grid._Grid.messagesNode.innerHTML

    • type
      String
  • dojox.grid._Grid.messagesNode.style.display

    • type
      String
  • dojox.grid._Grid._structureChanged

    • type
      Function
  • dojox.grid._Grid.hasLayout

    • type
      Function
  • dojox.grid._Grid.resize

    • parameters:
      • changeSize
      • resultSize
    • summary
      Update the grid's rendering dimensions and resize it
    • type
      Function
  • dojox.grid._Grid._pendingChangeSize

  • dojox.grid._Grid._pendingResultSize

    • type
      Object
  • dojox.grid._Grid._getPadBorder

    • type
      Function
  • dojox.grid._Grid._padBorder

    • type
      Object
  • dojox.grid._Grid._getHeaderHeight

    • type
      Function
  • dojox.grid._Grid.viewsHeaderNode.style

  • dojox.grid._Grid.viewsHeaderNode.style.height

    • type
      String
  • dojox.grid._Grid._resize

    • parameters:
      • changeSize
      • resultSize
    • type
      Function
  • dojox.grid._Grid.domNode.parentNode

  • dojox.grid._Grid.domNode.style.height

    • type
      String
  • dojox.grid._Grid.fitTo

    • type
      String
  • dojox.grid._Grid._parentContentBoxHeight

    • type
      Object
  • dojox.grid._Grid.viewsHeaderNode.style.display

    • type
      String
  • dojox.grid._Grid.adaptWidth

    • type
      Function
  • dojox.grid._Grid.adaptHeight

    • parameters:
      • inHeaderHeight
    • type
      Function
  • dojox.grid._Grid.scroller.windowHeight

    • type
      Object
  • dojox.grid._Grid.startup

    • type
      Function
  • dojox.grid._Grid.render

    • summary
      Render the grid, headers, and views. Edit and scrolling states are reset. To retain edit and
      scrolling states, see Update.
    • type
      Function
  • dojox.grid._Grid.update

    • summary
      Update the grid, retaining edit and scrolling states.
    • type
      Function
  • dojox.grid._Grid._render

    • type
      Function
  • dojox.grid._Grid.prerender

    • type
      Function
  • dojox.grid._Grid.postrender

    • type
      Function
  • dojox.grid._Grid.postresize

    • type
      Function
  • dojox.grid._Grid.viewsNode.style.height

  • dojox.grid._Grid.renderRow

    • parameters:
      • inRowIndex
      • inNodes
    • summary
      private, used internally to render rows
    • type
      Function
  • dojox.grid._Grid.rowRemoved

    • parameters:
      • inRowIndex
    • summary
      private, used internally to remove rows
    • type
      Function
  • dojox.grid._Grid.invalidated

    • type
      Array
  • dojox.grid._Grid.updating

    • type
      bool
  • dojox.grid._Grid.beginUpdate

    • summary
      Use to make multiple changes to rows while queueing row updating.
      NOTE: not currently supporting nested begin/endUpdate calls
    • type
      Function
  • dojox.grid._Grid.endUpdate

    • summary
      Use after calling beginUpdate to render any changes made to rows.
    • type
      Function
  • dojox.grid._Grid.defaultUpdate

    • type
      Function
  • dojox.grid._Grid.invalidated.all

    • type
      Object
  • dojox.grid._Grid.updateRow

    • parameters:
      • inRowIndex: (typeof Integer)
        Index of the row to render
    • summary
      Render a single row.
    • type
      Function
  • dojox.grid._Grid.updateRows

    • parameters:
      • startIndex: (typeof Integer)
        Index of the starting row to render
      • howMany: (typeof Integer)
        How many rows to update.
    • summary
      Render consecutive rows at once.
    • type
      Function
  • dojox.grid._Grid.updateRowCount

    • parameters:
      • inRowCount: (typeof int)
        Number of rows in the grid.
    • summary
      Change the number of rows.
    • type
      Function
  • dojox.grid._Grid.invalidated.rowCount

  • dojox.grid._Grid.updateRowStyles

    • parameters:
      • inRowIndex
    • summary
      Update the styles for a row after it's state has changed.
    • type
      Function
  • dojox.grid._Grid.getRowNode

    • parameters:
      • inRowIndex
    • summary
      find the rowNode that is not a rowSelector
    • type
      Function
  • dojox.grid._Grid.rowHeightChanged

    • parameters:
      • inRowIndex: (typeof Integer)
        index of the row that has changed height
    • summary
      Update grid when the height of a row has changed. Row height is handled automatically as rows
      are rendered. Use this function only to update a row's height outside the normal rendering process.
    • type
      Function
  • dojox.grid._Grid.fastScroll

    • type
      Boolean
    • summary
      flag modifies vertical scrolling behavior. Defaults to true but set to false for slower
      scroll performance but more immediate scrolling feedback
  • dojox.grid._Grid.delayScroll

    • type
      bool
  • dojox.grid._Grid.scrollRedrawThreshold

    • type
      int
    • summary
      pixel distance a user must scroll vertically to trigger grid scrolling.
  • dojox.grid._Grid.scrollTo

    • parameters:
      • inTop: (typeof Integer)
        vertical position of the grid in pixels
    • summary
      Vertically scroll the grid to a given pixel position
    • type
      Function
  • dojox.grid._Grid._pendingScroll

    • type
      Object
  • dojox.grid._Grid.finishScrollJob

    • type
      Function
  • dojox.grid._Grid.setScrollTop

    • parameters:
      • inTop
    • type
      Function
  • dojox.grid._Grid.scrollToRow

    • parameters:
      • inRowIndex: (typeof Integer)
        grid row index
    • summary
      Scroll the grid to a specific row.
    • type
      Function
  • dojox.grid._Grid.styleRowNode

    • parameters:
      • inRowIndex
      • inRowNode
    • type
      Function
  • dojox.grid._Grid._mouseOut

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.getCell

    • parameters:
      • inIndex: (typeof Integer)
        Grid column index of cell to retrieve
    • summary
      Retrieves the cell object for a given grid column.
    • return_summary
      a grid cell
    • type
      Function
  • dojox.grid._Grid.setCellWidth

    • parameters:
      • inIndex
      • inUnitWidth
    • type
      Function
  • dojox.grid._Grid.getCellName

    • parameters:
      • inCell
    • returns
      String
    • summary
      Returns the cell name of a passed cell
    • type
      Function
  • dojox.grid._Grid.canSort

    • parameters:
      • inSortInfo: (typeof Integer)
        Sort information, 1-based index of column on which to sort, positive for an ascending sort
        and negative for a descending sort
    • summary
      Determines if the grid can be sorted
    • return_summary
      Boolean
      True if grid can be sorted on the given column in the given direction
    • type
      Function
  • dojox.grid._Grid.sort

    • type
      Function
  • dojox.grid._Grid.getSortAsc

    • parameters:
      • inSortInfo
    • returns
      Boolean
    • summary
      Returns true if grid is sorted in an ascending direction.
    • type
      Function
  • dojox.grid._Grid.getSortIndex

    • parameters:
      • inSortInfo
    • returns
      Integer
    • summary
      Returns the index of the column on which the grid is sorted
    • type
      Function
  • dojox.grid._Grid.setSortIndex

    • parameters:
      • inIndex: (typeof Integer)
        Column index on which to sort.
      • inAsc: (typeof Boolean)
        If true, sort the grid in ascending order, otherwise in descending order
    • summary
      Sort the grid on a column in a specified direction
    • type
      Function
  • dojox.grid._Grid.setSortInfo

    • parameters:
      • inSortInfo
    • type
      Function
  • dojox.grid._Grid.doKeyEvent

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid._dispatch

    • parameters:
      • m
      • e
    • type
      Function
  • dojox.grid._Grid.dispatchKeyEvent

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.dispatchContentEvent

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.dispatchHeaderEvent

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.dokeydown

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.doclick

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.dodblclick

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.docontextmenu

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.doheaderclick

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.doheaderdblclick

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.doheadercontextmenu

    • parameters:
      • e
    • type
      Function
  • dojox.grid._Grid.doStartEdit

    • parameters:
      • inCell
      • inRowIndex
    • type
      Function
  • dojox.grid._Grid.doApplyCellEdit

    • parameters:
      • inValue
      • inRowIndex
      • inFieldIndex
    • type
      Function
  • dojox.grid._Grid.doCancelEdit

    • parameters:
      • inRowIndex
    • type
      Function
  • dojox.grid._Grid.doApplyEdit

    • parameters:
      • inRowIndex
    • type
      Function
  • dojox.grid._Grid.addRow

    • summary
      Add a row to the grid.
    • type
      Function
  • dojox.grid._Grid.removeSelectedRows

    • summary
      Remove the selected rows from the grid.
    • type
      Function
  • dojo.isCopyKey

    • alias - dojo.dnd.getCopyKeyState
  • dojox.grid.__CellDef

    • type
      Function
  • dojox.grid.__CellDef.name

    • optional
    • type
      String
    • summary
      The text to use in the header of the grid for this cell.
  • dojox.grid.__CellDef.value

    • optional
    • type
      String
    • summary
      If &quot;get&quot; is not specified, this is used as the data for the cell.
      defaultValue: String?
      If &quot;get&quot; and &quot;value&quot; aren't specified or if &quot;get&quot; returns an undefined
      value, this is used as the data for the cell.  &quot;formatter&quot; is not run
      on this if &quot;get&quot; returns an undefined value.
  • dojox.grid.__CellDef.get

    • optional
    • type
      Function
    • summary
      function(rowIndex){} rowIndex is of type Integer.  This
      function will be called when a cell	requests data.  Returns the
      unformatted data for the cell.
  • dojox.grid.__CellDef.formatter

    • optional
    • type
      Function
    • summary
      function(data, rowIndex){} data is of type anything, rowIndex
      is of type Integer.  This function will be called after the cell
      has its data but before it passes it back to the grid to render.
      Returns the formatted version of the cell's data.
  • dojox.grid.__CellDef.type

    • optional
    • type
      dojox.grid.cells._Base|Function
    • summary
      TODO
  • dojox.grid.__CellDef.editable

    • optional
    • type
      Boolean
    • summary
      Whether this cell should be editable or not.
  • dojox.grid.__CellDef.hidden

    • optional
    • type
      Boolean
    • summary
      If true, the cell will not be displayed.
      noresize: Boolean?
      If true, the cell will not be able to be resized.
  • dojox.grid.__CellDef.width

    • optional
    • type
      Integer|String
    • summary
      A CSS size.  If it's an Integer, the width will be in em's.
  • dojox.grid.__CellDef.colSpan

    • optional
    • type
      Integer
    • summary
      How many columns to span this cell.  Will not work in the first
      sub-row of cells.
  • dojox.grid.__CellDef.rowSpan

    • optional
    • type
      Integer
    • summary
      How many sub-rows to span this cell.
  • dojox.grid.__CellDef.styles

    • optional
    • type
      String
    • summary
      A string of styles to apply to both the header cell and main
      grid cells.  Must end in a ';'.
  • dojox.grid.__CellDef.headerStyles

    • optional
    • type
      String
    • summary
      A string of styles to apply to just the header cell.  Must end
      in a ';'
  • dojox.grid.__CellDef.cellStyles

    • optional
    • type
      String
    • summary
      A string of styles to apply to just the main grid cells.  Must
      end in a ';'
  • dojox.grid.__CellDef.classes

    • optional
    • type
      String
    • summary
      A space separated list of classes to apply to both the header
      cell and the main grid cells.
  • dojox.grid.__CellDef.headerClasses

    • optional
    • type
      String
    • summary
      A space separated list of classes to apply to just the header
      cell.
  • dojox.grid.__CellDef.cellClasses

    • optional
    • type
      String
    • summary
      A space separated list of classes to apply to just the main
      grid cells.
  • dojox.grid.__CellDef.attrs

    • optional
    • type
      String
    • summary
      A space separated string of attribute='value' pairs to add to
      the header cell element and main grid cell elements.
  • dojox.grid.__ViewDef

    • type
      Function
  • dojox.grid.__ViewDef.noscroll

    • optional
    • type
      Boolean
    • summary
      If true, no scrollbars will be rendered without scrollbars.
  • dojox.grid.__ViewDef.width

    • optional
    • type
      Integer|String
    • summary
      A CSS size.  If it's an Integer, the width will be in em's. If
      &quot;noscroll&quot; is true, this value is ignored.
  • dojox.grid.__ViewDef.cells

    • optional
    • type
      dojox.grid.__CellDef[]|Array[dojox.grid.__CellDef[]]
    • summary
      The structure of the cells within this grid.
  • dojox.grid.__ViewDef.type

    • optional
    • type
      String
    • summary
      A string containing the constructor of a subclass of
      dojox.grid._View.  If this is not specified, dojox.grid._View
      is used.
  • dojox.grid.__ViewDef.defaultCell

    • optional
    • type
      dojox.grid.__CellDef
    • summary
      A cell definition with default values for all cells in this view.  If
      a property is defined in a cell definition in the &quot;cells&quot; array and
      this property, the cell definition's property will override this
      property's property.
  • dojox.grid.__ViewDef.onBeforeRow

    • optional
    • type
      Function
    • summary
      function(rowIndex, cells){} rowIndex is of type Integer, cells
      is of type Array[dojox.grid.__CellDef[]].  This function is called
      before each row of data is rendered.  Before the header is
      rendered, rowIndex will be -1.  &quot;cells&quot; is a reference to the
      internal structure of this view's cells so any changes you make to
      it will persist between calls.
  • dojox.grid.__ViewDef.onAfterRow

    • optional
    • type
      Function
    • summary
      function(rowIndex, cells, rowNode){} rowIndex is of type Integer, cells
      is of type Array[dojox.grid.__CellDef[]], rowNode is of type DOMNode.
      This function is called	after each row of data is rendered.  After the
      header is rendered, rowIndex will be -1.  &quot;cells&quot; is a reference to the
      internal structure of this view's cells so any changes you make to
      it will persist between calls.
  • dojox.grid._Grid.markupFactory

    • parameters:
      • props
      • node
      • ctor
      • cellFunc
    • returns
      for vendetta
    • type
      Function
  • dojox.grid

    • type
      Object
  • dojox

    • type
      Object