好的,谢谢!
我还问个问题:我在Js中如何设置列为Button类型的Button上的Text值。
后台:
FarPoint.Web.Spread.ButtonCellType btncelltype = new FarPoint.Web.Spread.ButtonCellType("","");
btncelltype.OnClientClick = "Openwindows();";
FpSpread1.ActiveSheetView.Columns[0].CellType = btncelltype;
前台:
var spread = FpSpread("FpSpread1");
var activeRow = FpSpread1.ActiveRow;
spread.Cells(activeRow, 1).SetValue(result); // sets the cell property
//如何设置按钮文字
//???
FpSpread1.UpdatePostbackData();
谢谢! |