修改一下后台Render方法就可以了:
- protected override void Render(HtmlTextWriter writer)
- {
- Table viewport = FpSpread1.FindControl("viewport") as Table;
- foreach (TableRow row in viewport.Rows)
- {
- row.Attributes.Add("onMouseOver", "mouseover(this)");
- row.Attributes.Add("onMouseOut", "mouseout(this)");
- }
- base.Render(writer);
- }
复制代码
另外,选中行弹出画面的问题正在处理中 |