回复 1楼houdawei的帖子
ButtonCellType 提供OnClientClick 属性用于设置前台点击方法:
- FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType();
- btn.OnClientClick = "alert(\'You clicked the button\');";
- FpSpread1.ActiveSheetView.Cells[1, 1].CellType = btn;
复制代码 |