vpGrid Events Life Cycle

Any user action in the grid translates to a series of events.

 

When the user click on a row

If the row is read-only (i.e. the isUpdatable property of the corresponding row object is false) : no event raised.

If the row is not read-only the following events are raised :

  • -> onRowEditing 
  •      -> onCellEditing
  •                ->if cell is editable and cell in edit mode must be rendered as a Select
  •                       -> onSelectCellRendering
  •                ->if cell is editable and cell in edit mode must be rendered as an autocomplete text box
  •                       -> onAutocompleteCellRendering
  •  

 

When the user has edited a cell through inline editing

The following events are raised :

  • ->onCellUpdating
  •    -> onCellValidating 
  •        -> onCellUpdated
  •            -> onUpdatedDataReceived
  •                -> onInlineSummaryRowRendering
  •                    -> onSummaryCellRendering
  •            -> onCellRendering

  

When a cell displays its content

The following events are raised :

  • ->onCellRendering
  •    -> if cell type is Image :
  •        -> onImageCellRendering
  •    -> if cell type is Link :
  •        -> onLinkCellRendering
  •    -> if cell type is Image :
  •        -> onImageCellRendering

 

 

Last edited Aug 12, 2014 at 4:58 PM by HenridOrgeval, version 10