回复 1楼liqinglin321的帖子
- this.gcSpreadSheet1.LeaveCell += gcSpreadSheet1_LeaveCell;
- this.gcSpreadSheet1.EnterCell += gcSpreadSheet1_EnterCell;
- void gcSpreadSheet1_EnterCell(object sender, EnterCellEventArgs e)
- {
- this.gcSpreadSheet1.View.StartCellEditing(true);
- }
- void gcSpreadSheet1_LeaveCell(object sender, LeaveCellEventArgs e)
- {
- this.gcSpreadSheet1.View.StopCellEditing();
- }
复制代码 |