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 = "OnRowCopy"; DataGridEvent.OnGridHeadClick = "OnGridHeadClick"; DataGridEvent.OnCustomFilter = "OnCustomFilter"; //响应过滤菜单事件. DataGridEvent.OnCustomerPostBack = "CustomerPostBack"; //服务器端自定义事件 //合计值变化. DataGridEvent.OnAggregationChanged = "OnAggregationChanged"; //endregion //region 内部使用消息 //region 插入点消息 DataGridEvent.Load = "Load"; DataGridEvent.Resize = "Resize"; DataGridEvent.RowHeadClick = "RowHeadClick"; DataGridEvent.RowHeadDBClick = "RowHeadDBClick"; DataGridEvent.RowCellClick = "RowCellClick"; DataGridEvent.RowHeadDBClick = "RowHeadDBClick"; DataGridEvent.RowCellDBClick = "RowCellDBClick"; DataGridEvent.CellEndEdit = "CellEndEdit"; //结束当前单元格编辑 DataGridEvent.DataChanged = "DataChanged"; //当前数据发生变化,(由model触发） DataGridEvent.EndActive = "EndActive"; //结束当前活动状态 DataGridEvent.SelectAllRow = "SelectAllRow"; //表头的全选事件 DataGridEvent.RowClick = "RowClick"; DataGridEvent.RowSelected = "RowSelected"; DataGridEvent.RowCountChanged = "RowCountChanged"; //行数发生变化事件 DataGridEvent.MouseWheel = "MouseWheel"; //鼠标滚轮事件 DataGridEvent.HeadSortData = "HeadSortData"; DataGridEvent.HeadLinkClick = "HeadLinkClick"; DataGridEvent.ContainerScroll = "ContainerScroll"; DataGridEvent.ColResized = "ColResized"; DataGridEvent.ViewDataRefresh = "ViewDataRefresh"; //窗口刷新前后事件 DataGridEvent.BeforeWinRefresh = "BeforeWinRefresh"; DataGridEvent.AfterWinRefresh = "AfterWinRefresh"; DataGridEvent.BeforeWinHeadRefresh = "BeforeWinHeadRefresh"; DataGridEvent.AfterWinHeadRefresh = "AfterWinHeadRefresh"; //endregion //region 功能消息 //region 菜单按钮使能控制 DataGridEvent.AddEnabled = "AddEnabled"; DataGridEvent.DeleteEnabled = "DeleteEnabled"; DataGridEvent.InsertEnabled = "InsertEnabled"; DataGridEvent.CopyEnabled = "CopyEnabled"; DataGridEvent.EditAllEnabled = "EditAllEnabled"; //endregion DataGridEvent.RowAdd = "RowAdd"; DataGridEvent.EmptyRowAdd = "EmptyRowAdd"; DataGridEvent.RowInsert = "RowInsert"; DataGridEvent.RowDelete = "RowDelete"; DataGridEvent.RowChanged = "RowChanged"; DataGridEvent.RowDeleted = "RowDeleted"; DataGridEvent.ControlDataUpdate = "ControlDataUpdate"; //grid控件属性发生变化. DataGridEvent.BeforeSubmit = "BeforeSubmit"; // 页面提交前事件 //跳转到最后一页 DataGridEvent.GotoLastPage = "GotoLastPage"; //刷新后 执行异步方法 DataGridEvent.ExecAsyMethod = "ExecAsyMethod"; //程序触发数据变更消息 DataGridEvent.DataChangedByCode = "DataGridEvent.DataChangedByCode"; DataGridEvent.ShowEditMenu = "ShowEditMenu"; DataGridEvent.ResetAggre = "ResetAggre"; //重置合计 DataGridEvent.CalCol = "CalCol"; //计算列 DataGridEvent.CalAggre = "CalAggre"; //合计 DataGridEvent.ShowFormRef = "ShowFormRef"; //显示参照 //Grid CRUD 组件 功能点. DataGridEvent.CRUDAddRow = "CRUDAddRow"; DataGridEvent.CRUDInsertRow = "CRUDInsertRow"; DataGridEvent.CRUDDeleteRow = "CRUDDeleteRow"; DataGridEvent.SetRowDefaultValue = "SetRowDefaultValue"; DataGridEvent.CRUDCanInsertRow = "CanInsertRow"; DataGridEvent.CRUDClearAll = "CRUDClearAll"; // 批量修改组件 功能点 DataGridEvent.ShowBatchModifyDialog = "ShowBatchModifyDialog"; //批量修改对话框 DataGridEvent.CloseBatchModifyDialog = "CloseBatchModifyDialog"; //批量修改对话框 DataGridEvent.BatchModify = "BatchModify"; //批量修改消息 //合计列 组件 功能点 DataGridEvent.AggregateCol = "AggregateCol"; //合计列功能点 DataGridEvent.AggregateAllCol = "AggregateAllCol"; //合计所有列功能点 //UIModel 信息刷新 功能点 DataGridEvent.ModelRefreshView = "ModelRefreshView"; DataGridEvent.InitWindow = "InitWindow"; //重新初始化窗口