dojox/grid/enhanced/plugins/_RowMapLayer (version 1.10)

Usage

var foo = new _RowMapLayer(grid);
dojox/grid/enhanced/plugins/_RowMapLayer
Parameter Type Description
grid undefined

Property Summary

Method Summary

Event Summary

Properties

__enabled

To control whether this layer is valid.

_originFetch

The original fetch function of the store.

_store

The wrapped store.

layerFuncName

Methods

_fetch(userRequest)
Parameter Type Description
userRequest undefined
Returns:undefined
_getRowArrays(rows)
Parameter Type Description
rows undefined
Returns:undefined
_subFetch(userRequest,rowArrays,index,result,map,oldOnComplete,start,count)
Parameter Type Description
userRequest undefined
rowArrays undefined
index undefined
result undefined
map undefined
oldOnComplete undefined
start undefined
count undefined
_unwrap(nextLayer)

Do the actual unwrapping to the store.

Parameter Type Description
nextLayer undefined
_wrap(store,funcName,layerFuncName,nextLayer)

Do the actual wrapping (or 'hacking' if you like) to the store.

Parameter Type Description
store undefined

The store to be unwrapped.

funcName undefined
layerFuncName undefined
nextLayer undefined
clearMapping()
enabled(toEnable)

The get/set function of the enabled status of this layer

Parameter Type Description
toEnable Boolean
Optional

If given, is a setter, otherwise, it's getter.

Returns:boolean
initialize(store)
Parameter Type Description
store undefined
invalidate()
name()

Get the name of this store layer. The default name retrieved from class name, which should have a pattern of "{name}Layer". If this pattern does not exist, the whole class name will be this layer's name. It's better to override this method if your class name is too complicated.

Returns:any | undefined

The name of this layer.

originFetch()
Returns:undefined
setMapping(mapping)

Remember the row mapping.

Parameter Type Description
mapping Object

keys are original rowIndexes, values are new rowIndexes.

uninitialize()

Events

_onDelete(item)
Parameter Type Description
item undefined
Error in the documentation? Can’t find what you are looking for? Let us know!