回复 1楼syl000216的帖子
建议您使用 ButtonCellType 来实现这个需求:
- FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType();
- btn.ButtonType = FarPoint.Web.Spread.ButtonType.LinkButton;
- btn.OnClientClick = "alert(\'You clicked the button\');";
- FpSpread1.ActiveSheetView.Cells[1, 1].CellType = btn;
复制代码 |