BiOlapGridDragEvent

This event is used for events related to some drag and drop inside the OLAP grid.

This class extends BiDragEvent and therefore all methods and fields available for BiDragEvent are also available for BiOlapGridDragEvent .

Constructor

new BiOlapGridDragEvent ( sType,oDragEvent )

Parameters

NameTypeOptionalDefaultDescripton
sTypeStringThe name/type of the event
oDragEventBiDragEventThe drag and drop event this is based on

Properties

NameTypegetsetDescripton
destinationInfoBiOlapGridCellInfocheckedThe destionation cell info
relativeNumbercheckedThe relative postion to the destionation cell. This is either BiOlapGridDragEvent.BEFORE, BiOlapGridDragEvent.OVER or BiOlapGridDragEvent.AFTER.
sourceInfoBiOlapGridCellInfocheckedThe source cell info

Methods

NameDescription
initEventInitializes a few fields

Events

None.

Static Methods

None.

Static Fields

NameTypeDescripton
AFTERNumberWhether the relative positon is after the destination cell info
BEFORENumberWhether the relative positon is before the destination cell info
OVERNumberWhether the relative positon is over (not before or after) the destination cell info

Remarks

None.

Method Details

initEvent

Initializes a few fields

Syntax

object.initEvent ( oSrc,oDst [ ,nRelative ] )

Parameters

NameTypeOptionalDefaultDescripton
oSrcBiOlapGridCellInfoThe cell info for the start cell in the OLAP grid
oDstBiOlapGridCellInfoThe destination cell info for the OLAP grid
nRelativeNumbercheckedNumber describing where the drop/over occured.

Return Type

void