877-GRID-666 24/7 online support 324 10TH ST STE 203 OAKLAND CA 94607, USA

add_event()

  • Parameter(s):
    • $event_name: Event name from one of the following available events
        • jqGrid events

        • jqGridAfterAddRow
        • jqGridAfterChangeRowid
        • jqGridAfterDelRow
        • jqGridAfterInsertRow
        • jqGridAfterLoadComplete
        • jqGridAfterSetRow
        • jqGridAfterResizeDblClick
        • jqGridBeforeInitGrid
        • jqGridBeforeProcessing
        • jqGridBeforeRequest
        • jqGridBeforeSelectRow
        • jqGridGridComplete
        • jqGridLoadBeforeSend
        • jqGridLoadComplete
        • jqGridDblClickRow
        • jqGridHeaderClick
        • jqGridInitGrid
        • jqGridPaging
        • jqGridRightClickRow
        • jqGridSelectAll
        • jqGridSelectRow
        • jqGridShowHideCol
        • jqGridSortCol
        • jqGridRemapColumns
        • jqGridResizeDblClick
        • jqGridResizeStart
        • jqGridResizeStop
        • jqGridResetFrozenHeights
        • Grouping event

        • jqGridGroupingClickGroup
        • Form editing events

        • jqGridAddEditAfterClickPgButtons
        • jqGridAddEditAfterComplete
        • jqGridAddEditAfterShowForm
        • jqGridAddEditAfterSubmit
        • jqGridAddEditBeforeCheckValues
        • jqGridAddEditBeforeInitData
        • jqGridAddEditBeforeShowForm
        • jqGridAddEditBeforeSubmit
        • jqGridAddEditClickPgButtons
        • jqGridAddEditClickSubmit
        • jqGridAddEditInitializeForm
        • jqGridAddEditSerializeEditData
        • Form view events

        • jqGridViewBeforeInitData
        • jqGridViewBeforeShowForm
        • Form deleting events

        • jqGridDeleteAfterShowForm
        • jqGridAddEditAfterComplete
        • jqGridDeleteBeforeInitData
        • jqGridDeleteBeforeShowForm
        • Searching form

        • jqGridFilterAfterChange
        • jqGridFilterAfterShow
        • jqGridFilterInitialize
        • jqGridFilterBeforeShow
        • Inline editing events

        • jqGridInlineBeforeAddRow
        • jqGridInlineBeforeCancelRow
        • jqGridInlineBeforeEditRow
        • jqGridInlineBeforeSaveRow
        • jqGridInlineAfterRestoreRow
        • jqGridInlineEditRow
        • jqGridInlineSaveRowValidation
        • jqGridInlineAfterSaveRow
        • jqGridInlineSerializeSaveData
        • jqGridInlineSuccessSaveRow
        • jqGridInlineErrorSaveRow
        • Cell editing events

        • jqGridBeforeEditCell
        • jqGridAfterEditCell
        • Subgrid events

        • jqGridSerializeSubGridData
        • jqGridSubGridBeforeCollapse
        • jqGridSubGridBeforeExpand
        • jqGridSubGridRowExpanded
    • $js_event_handler: JavaScript event handler to the specified event
  • Description:
  • Remark:
    • This is an advanced method.  The event handler is JavaScript.
  • Example: