wangxuemeicheny 你好:
1.后台实现方法:
设置 CheckBoxCellType AutoPostBack 属性为 true,在 Spread ButtonCommand 中设置。参考代码:
- protected void Page_Load(object sender, EventArgs e)
- {
- FarPoint.Web.Spread.CheckBoxCellType c = new FarPoint.Web.Spread.CheckBoxCellType();
- c.AutoPostBack = true;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
- }
- protected void FpSpread1_ButtonCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
- {
- }
复制代码 2.前台实现方法,请参考:http://gcdn.grapecity.com/showtopic-3040.html |