回复 5楼raul1122的帖子
请使用以下代码测试:
C#
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- FarPoint.Web.Spread.ComboBoxCellType c = new FarPoint.Web.Spread.ComboBoxCellType(new String[] { "One", "Two", "Three" });
- c.OnClientChanged = "test()";
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
- }
复制代码
JS
- function test() {
- var spread = this.document.getElementById("FpSpread1");
- spread.CallBack("button");
- }
复制代码 |