胡桃个人博客 - Javascript
type: channel
link: https://blog.ljhyun.com/category/Javascript/
items: CallBack触发事件名称

CallBack触发事件名称
type: item
date: 2025-06-12T18:13:00+08:00
description: CallBack触发事件名称//DataGrid控件事件名称常量定义--> function DataGridEvent() {} DataGridEvent.OnBodyRowSelectedChange = "OnBodyRowSelectedChange"; DataGridEvent.OnBodyRowSelectedValueChange = "OnBodyRowSelectedValueChange"; DataGridEvent.OnBodyRowSelected = "OnBodyRowSelected"; DataGridEvent.OnBeforeRowInsert = "OnBeforeRowInsert"; DataGridEvent.OnBeforeRowDelete = "OnBeforeRowDelete"; DataGridEvent.OnAfterRowInserted = "OnAfterRowInserted"; DataGridEvent.OnAfterRowDeleted = "OnAfterRowDeleted"; DataGridEvent.OnCellFocusEnter = "OnCellFocusEnter"; DataGridEvent.OnCellFocusOut = "OnCellFocusOut"; DataGridEvent.OnCellClick = "OnCellClick"; DataGridEvent.OnCellDbClick = "OnCellDbClick"; DataGridEvent.OnRowChanged = "OnRowChanged"; DataGridEvent.OnRowClick = "OnRowClick"; DataGridEvent.OnMovePage = "OnMovePage"; DataGridEvent.OnSortData = "OnSortData"; DataGridEvent.Onkeypress = "Onkeypress"; DataGridEvent.OnBeforeOpenDialog = "OnBeforeOpenDialog"; DataGridEvent.OnAfterOpenDialog = "OnAfterOpenDialog"; DataGridEvent.OnBeforeCustomerPostBack = "OnBeforeCustomerPostBack"; DataGridEvent.OnAfterRowAdded = "OnAfterRowAdded"; DataGridEvent.OnBeforeCellFocusEnter = "OnBeforeCellFocusEnter"; DataGridEvent.OnCellDataChanged = "OnCellDataChanged"; DataGridEvent.OnCellDataValueChanged = "OnCellDataValueChanged"; DataGridEvent.OnAfterRowCopyed = "OnAfterRowCopyed"; DataGridEvent.OnBeforeRowCopy = "OnBeforeRowCopy"; DataGridEvent.OnRowContentChanged4P = "OnRowContentChanged4P"; // 为了支持个性化参照携带而增加（个性化的参照携带在固有事件逻辑之后） DataGridEvent.OnBeforeRowAdd = "OnBeforeRowAdd"; DataGridEvent.OnSelectAllRecords = "OnSelectAllRecords"; DataGridEvent.OnControlValueChange = "OnControlValueChange"; DataGridEvent.OnSelecteAllPage = "OnSelecteAllPage"; DataGridEvent.OnBatchModify = "OnBatchModify"; // 批量修改事件 DataGridEvent.OnAfterRowCopyed4Default = "OnAfterRowCopyed4Default"; // 复制行默认事件，系统内部使用 DataGridEvent.OnImitateSwitchTabPage = "OnImitateSwitchTabPage"; // 模拟切页签CallBack事件，系统内部使用 //行 copy 功能 DataGridEvent.OnRowCopy …