Expand All

  Getting Started

  Interfacing

  Features

  Row Models

  Themes

  Components

  Examples

Misc

Github stars make projects look great. Please help, donate a star, it's free.
Get informed on releases and other ag-Grid news only - never spam.
Follow on Twitter

Context

The context object is passed to most of the callbacks used in ag-Grid, such as the cell renderers. ag-Grid does not place anything into the context, it is not used at all internally by ag-Grid. It's purpose is to allow the client application to pass details to custom callbacks.

Example

In the example below, the drop down selects a reporting currency. This reporting currency selection is placed inside the context object, which is subsequently used by the a) cell renderer to calculate the value to display and b) the header of the last column, to display a particular header value.