GridEventHandler Class [PHP]

Summary

Methods Description
OnBeforeDetailTablesExpand Occurring before a grid row expands its detail tables.
OnDetailTablesExpand Occurring after a grid row expands its detail tables.
OnBeforeDetailTablesCollapse Occurring before a grid row collapses its detail tables.
OnDetailTablesCollapse Occurring after a grid row collapses its detail tables.
OnBeforeRowStartEdit Occurring before a grid row is in edit mode.
OnRowStartEdit Occurring after a grid row is in edit mode.
OnBeforeRowCancelEdit Occurring before a grid row cancels editing.
OnRowCancelEdit Occurring after a grid row cancels editing.
OnBeforeRowDelete Occurring before a grid row is deleted.
OnRowDelete Occurring after a grid row is deleted.
OnBeforeColumnSort Occurring before a grid column is sorted.
OnColumnSort Occurring after a grid column is sorted.
OnBeforeColumnGroup Occurring before a grid column is grouped.
OnColumnGroup Occurring after a grid column is grouped.
OnBeforeColumnFilter Occurring before a grid column is filtered.
OnColumnFilter Occurring after a grid column is filtered.
OnBeforePageIndexChange Occurring before a grid pager changes its page index.
OnPageIndexChange Occurring after a grid pager changes its page index.
OnBeforePageSizeChange Occurring before a grid pager changes its page size.
OnPageSizeChange Occurring after a grid pager changes its page size.
OnBeforeRowConfirmEdit Occurring before a grid row confirms edit.
OnRowConfirmEdit Occurring after a grid row confirms edit.
OnBeforeConfirmInsert Occurring before tableview adds a new row.
OnConfirmInsert Occurring after tableview adds a new row.
OnBeforeStartInsert Occurring before tableview starts inserting a new row.
OnStartInsert Occurring after tableview starts inserting a new row.
OnBeforeCancelInsert Occurring before tableview cancels inserting.
OnCancelInsert Occurring after tableview cancels inserting.
OnTableViewPreRender Occurring before the tableview render.
OnRowPreRender Occurring before a row renders.
OnGridPreRender Occurring before the grid renders.

Methods Detail

OnBeforeDetailTablesExpandTop

bool OnBeforeDetailTablesExpand(GridRow $row, array $args)

Occurring before a grid row expands its detail tables. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnDetailTablesExpandTop

void OnDetailTablesExpand(GridRow $row, array $args)

Occurring after a grid row expands its detail tables.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeDetailTablesCollapseTop

bool OnBeforeDetailTablesCollapse(GridRow $row, array $args)

Occurring before a grid row collapses its detail tables. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnDetailTablesCollapseTop

void OnDetailTablesCollapse(GridRow $row, array $args)

Occurring after a grid row collapses its detail tables.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeRowStartEditTop

bool OnBeforeRowStartEdit(GridRow $row, array $args)

Occurring before a grid row is in edit mode. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnRowStartEditTop

void OnRowStartEdit(GridRow $row, array $args)

Occurring after a grid row is in edit mode.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeRowCancelEditTop

bool OnBeforeRowCancelEdit(GridRow $row, array $args)

Occurring before a grid row cancels editing. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnRowCancelEditTop

void OnRowCancelEdit(GridRow $row, array $args)

Occurring after a grid row cancels editing.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeRowDeleteTop

bool OnBeforeRowDelete(GridRow $row, array $args)

Occurring before a grid row is deleted. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnRowDeleteTop

void OnRowDelete(GridRow $row, array $args)

Occurring after a grid row is deleted.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeColumnSortTop

bool OnBeforeColumnSort(GridColumn $column, array $args)

Occurring before a grid column is sorted. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnColumnSortTop

void OnColumnSort(GridColumn $column, array $args)

Occurring after a grid column is sorted.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeColumnGroupTop

bool OnBeforeColumnGroup(GridColumn $column, array $args)

Occurring before a grid column is grouped. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnColumnGroupTop

void OnColumnGroup(GridColumn $column, array $args)

Occurring after a grid column is grouped.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeColumnFilterTop

bool OnBeforeColumnFilter(GridColumn $column, array $args)

Occurring before a grid column is filtered. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnColumnFilterTop

void OnColumnFilter(GridColumn $column, array $args)

Occurring after a grid column is filtered.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforePageIndexChangeTop

bool OnBeforePageIndexChange(GridPager $pager, array $args)

Occurring before a grid pager changes its page index. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnPageIndexChangeTop

void OnPageIndexChange(GridPager $pager, array $args)

Occurring after a grid pager changes its page index.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforePageSizeChangeTop

bool OnBeforePageSizeChange(GridPager $pager, array $args)

Occurring before a grid pager changes its page size. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnPageSizeChangeTop

void OnPageSizeChange(GridPager $pager, array $args)

Occurring after a grid pager changes its page size.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeRowConfirmEditTop

bool OnBeforeRowConfirmEdit(GridRow $row, array $args)

Occurring before a grid row confirms edit. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnRowConfirmEditTop

void OnRowConfirmEdit(GridRow $row, array $args)

Occurring after a grid row confirms edit.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeConfirmInsertTop

bool OnBeforeConfirmInsert(GridTableView $tableview, array $args)

Occurring before tableview adds a new row. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnConfirmInsertTop

void OnConfirmInsert(GridTableView $tableview, array $args)

Occurring after tableview adds a new row.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeStartInsertTop

bool OnBeforeStartInsert(GridTableView $tableview, array $args)

Occurring before tableview starts inserting a new row. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnStartInsertTop

void OnStartInsert(GridTableView $tableview, array $args)

Occurring after tableview starts inserting a new row.

Show/Hide Code

Supported from version: 1.6.0.0

OnBeforeCancelInsertTop

bool OnBeforeCancelInsert(GridTableView $tableview, array $args)

Occurring before tableview cancels inserting. You return true in handle function to approve the action, return true to cancel the action.

Show/Hide Code

Supported from version: 1.6.0.0

OnCancelInsertTop

void OnCancelInsert(GridTableView $tableview, array $args)

Occurring after tableview cancels inserting.

Show/Hide Code

Supported from version: 1.6.0.0

OnTableViewPreRenderTop

void OnTableViewPreRender(GridTableView $tableview, array $args)

Occurring before the tableview render. You can make any neccessary changes here before table is in rendering process.

Show/Hide Code

Supported from version: 1.6.0.0

OnRowPreRenderTop

void OnRowPreRender(GridRow $row, array $args)

Occurring before a row renders. You can make any neccessary changes here before the row is in rendering process.

Show/Hide Code

Supported from version: 1.6.0.0

OnGridPreRenderTop

void OnGridPreRender(KoolGrid $grid, array $args)

Occurring before the grid renders. You can make any neccessary changes here before the grid is in rendering process.

Show/Hide Code

Supported from version: 1.6.0.0