回复 1楼jingyuking的帖子
测试版本 Spread for ASP.NET 7.0V3:
1:
- this.FpSpread1.EditModePermanent = true;
复制代码
2:
- <script language="javascript" type="text/javascript" id="FpSpread1_Script0">
- function FpSpread1_ActiveCellChanging(event){
- //Add code to handle your event here.
- var r = event.row;
- var c = event.col;
- if (r==1&&c==1) {
- event.cancel = true;
- }
- }
- </script>
复制代码
3:
- protected override void Render(HtmlTextWriter writer)
- {
- WebControl print = this.FpSpread1.FindControl("Print") as WebControl;
- print.Visible = false;
- base.Render(writer);
- }
复制代码 |