undefined

API Docs for: 5.4.0
Show:

DatagridClickHandler Class

Datagridclick handler class.

Imports RAMP Modules:

GraphicExtension EventManager Util

Methods

onDetailDeselect

()

This function is called whenever the "Details" button is deselected (either by the user click on another "Details" button, clicking on another point, or by clicking on an already highlighted "Details" button).

onDetailSelect

(
  • buttonNode
  • fData
  • selectedGraphic
)

This function is called whenever the "Details" button is clicked in the datagrid.

Parameters:

  • buttonNode JObject

    the "Details" button node

  • fData Object

    the feature data for the entry in the data grid

  • selectedGraphic Esri/Graphic

    the on-map graphic object associated with the entry in the datagrid

onZoomBack

()

This function is called whenever the user clicks on the "Zoom Back" button.

onZoomCancel

()

Publishes new events when zoomCancel event happens. Following events are published: highlighter/zoomlight-hide datagrid/zoomlightrow-hide

onZoomCancel

()

This function is called whenever the user deselects the "Zoom To" button (either by the user clicking on another point on the map, or by clicking on another "Zoom To" button)

onZoomTo

(
  • currentExtent
  • fData
  • zoomToGraphic
)

This function is called whenever the user clicks on the "Zoom To" button.

Parameters:

  • currentExtent Esri/geometry/Extent

    the current extent of the map

  • fData Object

    the feature data for the entry in the data grid

  • zoomToGraphic Object

    graphic object of the feature to zoom to