回复 1楼gengwh的帖子
gengwh 你好,
可以通过 ButtonCellType 的 OnClientClick 实现该 Case:
- FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType();
- btn.OnClientClick = "alert(\'You clicked the button\');";
- FpSpread1.ActiveSheetView.Cells[1, 1].CellType = btn;
复制代码 |