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/LazyTreeGrid.js

  • Provides:

    • dojox.grid.LazyTreeGrid
  • Requires:

    • dojox.grid._View in common
    • dojox.grid.TreeGrid in common
    • dojox.grid.cells.tree in common
    • dojox.grid.LazyTreeGridStoreModel in common
  • dojox.grid.cells.LazyTreeCell.formatAtLevel

    • parameters:
      • inRowIndexes
      • inItem
      • level
      • summaryRow
      • toggleClass
      • cellClasses
      • inRowIndex
    • type
      Function
  • dojox.grid.cells.LazyTreeCell.formatAtLevel.grid.store

  • dojox.grid.cells.LazyTreeCell.formatIndexes

    • parameters:
      • inRowIndex
      • inRowIndexes
      • inItem
      • level
    • type
      Function
  • dojox.grid.cells.LazyTreeCell.formatIndexes.grid.edit.info

  • dojox.grid._LazyExpando

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
  • dojox.grid._LazyExpando.itemId

    • type
      String
  • dojox.grid._LazyExpando.cellIdx

    • type
      Number
  • dojox.grid._LazyExpando.view

    • type
      Object
  • dojox.grid._LazyExpando.rowIdx

    • type
      Number
  • dojox.grid._LazyExpando.expandoCell

    • type
      Object
  • dojox.grid._LazyExpando.level

    • type
      Number
  • dojox.grid._LazyExpando.open

    • type
      bool
  • dojox.grid._LazyExpando.templatePath

    • type
      Object
  • dojox.grid._LazyExpando.onToggle

    • parameters:
      • event
    • type
      Function
  • dojox.grid._LazyExpando.setOpen

    • parameters:
      • open
    • type
      Function
  • dojox.grid._LazyExpando.view.grid

  • dojox.grid._LazyExpando.view.grid.stateChangeNode

    • type
      Object
  • dojox.grid._LazyExpando._updateOpenState

    • parameters:
      • item
    • type
      Function
  • dojox.grid._LazyExpando.expandoInner.innerHTML

  • dojox.grid._LazyExpando.setRowNode

    • parameters:
      • rowIdx
      • rowNode
      • view
    • type
      Function
  • dojox.grid._LazyExpando._initialized

    • type
      bool
  • dojox.grid._LazyExpando.domNode

  • dojox.grid._LazyExpando._tableRow

  • dojox.grid._TreeGridContentBuilder

    • type
      Function
    • chains:
      • dojox.grid._ContentBuilder: (prototype)
      • dojox.grid._ContentBuilder: (call)
    • summary
      Could create row content innerHTML by different appoarch for different data structure
  • dojox.grid._TreeGridContentBuilder.generateHtml

    • parameters:
      • inDataIndex
      • inRowIndex
    • returns
      String
    • summary
      create row innterHTML for flat data structure
    • type
      Function
  • dojox.grid._TreeGridContentBuilder.grid

  • dojox.grid._TreeGridContentBuilder.view

  • dojox.grid._TreeGridContentBuilder.view.structure.cells

  • dojox.grid._TreeGridContentBuilder._getColSpans

    • parameters:
      • level
    • summary
      handle the column span object
    • type
      Function
  • dojox.grid._TreeGridContentBuilder.grid.colSpans

  • dojox.grid._TreeGridContentBuilder._getCellWidth

    • parameters:
      • cells
      • colIndex
    • summary
      calculate column width by header cell's size
    • type
      Function
  • dojox.grid._TreeGridView

    • type
      Function
    • chains:
      • dojox.grid._View: (prototype)
      • dojox.grid._View: (call)
  • dojox.grid._TreeGridView._contentBuilderClass

    • alias - dojox.grid._TreeGridContentBuilder
  • dojox.grid._TreeGridView.postCreate

    • type
      Function
  • dojox.grid._TreeGridView._expandos

    • type
      Object
  • dojox.grid._TreeGridView._cleanupExpandoCache

    • parameters:
      • index
      • identity
      • item
    • type
      Function
  • dojox.grid._TreeGridView.onAfterRow

    • parameters:
      • inRowIndex
      • cells
      • inRowNode
    • summary
      parse the expando of each row to a widget
    • type
      Function
  • dojox.grid._LazyTreeLayout

    • type
      Function
    • chains:
      • dojox.grid._Layout: (prototype)
      • dojox.grid._Layout: (call)
    • summary
      Override the dojox.grid._TreeLayout to modify the _TreeGridView and cell formatter
  • dojox.grid._LazyTreeLayout.setStructure

    • parameters:
      • inStructure
    • type
      Function
  • dojox.grid._LazyTreeLayout.grid

  • dojox.grid._LazyTreeLayout._isCollapsable

    • type
      Object
  • dojox.grid._LazyTreeLayout.addCellDef

    • parameters:
      • inRowIndex
      • inCellIndex
      • inDef
    • type
      Function
  • dojox.grid.TreeGridItemCache

    • type
      Function
    • parameters:
      • grid
  • dojox.grid.TreeGridItemCache.unInit

    • type
      Object
  • dojox.grid.TreeGridItemCache.items

    • type
      Object
  • dojox.grid.TreeGridItemCache.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • grid
  • dojox.grid.TreeGridItemCache._buildCache

    • parameters:
      • size
    • type
      Function
  • dojox.grid.TreeGridItemCache.cacheItem

    • parameters:
      • rowIdx: (typeof integer)
      • cacheObj
    • type
      Function
  • dojox.grid.TreeGridItemCache.insertItem

    • parameters:
      • rowIdx: (typeof integer)
      • cacheObj
    • type
      Function
  • dojox.grid.TreeGridItemCache.initCache

    • parameters:
      • size
    • type
      Function
  • dojox.grid.TreeGridItemCache.getItemByRowIndex

    • parameters:
      • rowIdx: (typeof integer)
    • type
      Function
  • dojox.grid.TreeGridItemCache.getItemByTreePath

    • parameters:
      • treePath
    • type
      Function
  • dojox.grid.TreeGridItemCache.items.length

  • dojox.grid.TreeGridItemCache.getTreePathByRowIndex

    • parameters:
      • rowIdx: (typeof integer)
    • type
      Function
  • dojox.grid.TreeGridItemCache.getExpandoStatusByRowIndex

    • parameters:
      • rowIdx: (typeof integer)
    • type
      Function
  • dojox.grid.TreeGridItemCache.getInfoByItem

    • parameters:
      • item
    • type
      Function
  • dojox.grid.TreeGridItemCache.updateCache

    • parameters:
      • rowIdx: (typeof integer)
      • cacheObj
    • type
      Function
  • dojox.grid.TreeGridItemCache.deleteItem

    • parameters:
      • rowIdx
    • type
      Function
  • dojox.grid.TreeGridItemCache.cleanChildren

    • parameters:
      • rowIdx
    • type
      Function
  • dojox.grid.TreeGridItemCache.emptyCache

    • type
      Function
  • dojox.grid.TreeGridItemCache.cleanupCache

    • type
      Function
  • dojox.grid.TreeGridItemCache.rowsPerPage

  • dojox.grid.LazyTreeGrid

    • type
      Function
    • chains:
      • dojox.grid.TreeGrid: (prototype)
      • dojox.grid.TreeGrid: (call)
    • summary
      An enhanced TreeGrid widget which supports lazy-loading nested-level items
    • description
      LazyTreeGrid inherits from dojo.grid.TreeGrid, and applies virtual scrolling mechanism
      to nested children rows so that it's possible to deal with large data set specifically
      in tree structure with large number of children rows. It's also compatible with dijit.tree.ForestStoreModel
      
      Most methods and properties pertaining to the dojox.grid.DataGrid
      and dojox.grid.TreeGrid also apply here
      
      LazyTreeGrid does not support summary row/items aggregate for the
      lazy-loading reason.
    • example
      	colSpans = {
      	0:	[
      			{start: 0, end: 1, primary: 0},
      			{start: 2, end: 4, primary: 3}
      		],
      	1:	[
      			{start: 0, end: 3, primary: 1}
      		]
      	};
  • dojox.grid.LazyTreeGrid.treeModel

    • type
      Object
  • dojox.grid.LazyTreeGrid._layoutClass

    • alias - dojox.grid._LazyTreeLayout
  • dojox.grid.LazyTreeGrid.colSpans

    • type
      Object
    • summary
      a json object that defines column span of each level rows
      attributes:
      0/1/..: which level need to colspan
      start: start column index of colspan
      end: end column index of colspan
      primary: index of column which content will be displayed (default is value of start).
  • dojox.grid.LazyTreeGrid.postCreate

    • type
      Function
  • dojox.grid.LazyTreeGrid.cache

    • type
      Object
  • dojox.grid.LazyTreeGrid.createManagers

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

    • type
      Object
  • dojox.grid.LazyTreeGrid.focus

    • type
      Object
  • dojox.grid.LazyTreeGrid.edit

    • type
      Object
  • dojox.grid.LazyTreeGrid.createSelection

    • type
      Function
  • dojox.grid.LazyTreeGrid.selection

    • type
      Object
  • dojox.grid.LazyTreeGrid.setModel

    • parameters:
      • treeModel
    • type
      Function
  • dojox.grid.LazyTreeGrid.setStore

    • parameters:
      • store
      • query
      • queryOptions
    • type
      Function
  • dojox.grid.LazyTreeGrid.treeModel.query

  • dojox.grid.LazyTreeGrid.treeModel.store

  • dojox.grid.LazyTreeGrid.treeModel.root.children

    • type
      Array
  • dojox.grid.LazyTreeGrid._setQuery

    • parameters:
      • query
      • queryOptions
    • type
      Function
  • dojox.grid.LazyTreeGrid.destroy

    • type
      Function
  • dojox.grid.LazyTreeGrid._cleanup

    • type
      Function
  • dojox.grid.LazyTreeGrid.setSortIndex

    • parameters:
      • inIndex
      • inAsc
    • type
      Function
  • dojox.grid.LazyTreeGrid._refresh

    • parameters:
      • isRender
    • type
      Function
  • dojox.grid.LazyTreeGrid.render

    • type
      Function
  • dojox.grid.LazyTreeGrid._onNew

    • parameters:
      • item
      • parentInfo
    • type
      Function
  • dojox.grid.LazyTreeGrid.cache.items

  • dojox.grid.LazyTreeGrid._onDelete

    • parameters:
      • item
    • type
      Function
  • dojox.grid.LazyTreeGrid._pages

    • type
      Array
  • dojox.grid.LazyTreeGrid._bop

    • type
      Number
  • dojox.grid.LazyTreeGrid._eop

    • type
      Number
  • dojox.grid.LazyTreeGrid._cleanupExpandoCache

    • parameters:
      • index
      • identity
      • item
    • type
      Function
  • dojox.grid.LazyTreeGrid._fetch

    • parameters:
      • start
      • isRender
    • summary
      Function for fetch data when initializing TreeGrid and
      scroll the TreeGrid
    • type
      Function
  • dojox.grid.LazyTreeGrid.reqQueue

    • type
      Array
  • dojox.grid.LazyTreeGrid.reqQueueIndex

    • type
      Number
  • dojox.grid.LazyTreeGrid.reqQueue.length

  • dojox.grid.LazyTreeGrid._fetchItems

    • parameters:
      • idx
      • onBegin
      • onComplete
      • onError
    • type
      Function
  • dojox.grid.LazyTreeGrid._loading

    • type
      bool
  • dojox.grid.LazyTreeGrid.queryObj

    • type
      Object
  • dojox.grid.LazyTreeGrid._onFetchBegin

    • parameters:
      • size
      • request
    • type
      Function
  • dojox.grid.LazyTreeGrid.cache.items.length

  • dojox.grid.LazyTreeGrid.filter

    • parameters:
      • query
      • reRender
    • type
      Function
  • dojox.grid.LazyTreeGrid._onFetchComplete

    • parameters:
      • items
      • request
      • size
    • type
      Function
  • dojox.grid.LazyTreeGrid.queryObj.startRowIdx

  • dojox.grid.LazyTreeGrid.queryObj.count

  • dojox.grid.LazyTreeGrid.queryObj.start

    • type
      Number
  • dojox.grid.LazyTreeGrid.expandoFetch

    • parameters:
      • rowIndex
      • open
    • summary
      Function for fetch children of a given row
    • type
      Function
  • dojox.grid.LazyTreeGrid.expandoRowIndex

  • dojox.grid.LazyTreeGrid._by_idx.length

  • dojox.grid.LazyTreeGrid._onExpandoComplete

    • parameters:
      • childItems
      • request
      • size
    • type
      Function
  • dojox.grid.LazyTreeGrid.stateChangeNode

    • type
      Object
  • dojox.grid.LazyTreeGrid.toggleLoadingClass

    • parameters:
      • flag
    • summary
      set loading class when expanding/collapsing
    • type
      Function
  • dojox.grid.LazyTreeGrid.styleRowNode

    • parameters:
      • inRowIndex
      • inRowNode
    • type
      Function
  • dojox.grid.LazyTreeGrid.onStyleRow

    • parameters:
      • row
    • type
      Function
  • dojox.grid.LazyTreeGrid.dokeydown

    • parameters:
      • e
    • type
      Function
  • dojox.grid.cells.LazyTreeCell

    • type
      Object
  • dojox.grid.LazyTreeGrid.markupFactory

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

    • type
      Object
  • dojox

    • type
      Object