回复 1楼summonyyq的帖子
CellClick 事件需要设置 AutoPostBack 为 true 时才生效:
- FpSpread1.ActiveSheetView.AutoPostBack = true;
- private void FpSpread1CellClick(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
- {
- TextBox1.Text = "You clicked in row " + e.CommandArgument.X + ", column " + e.CommandArgument.Y;
- }
复制代码
详细使用方法请参考随机安装帮助文档。 |