可以在客户端调用SizeToFit方法:
- <SCRIPT language=javascript>
- function FitSpread()
- {
- FpSpread1.SizeToFit()
- }
- </SCRIPT>
复制代码
- <SCRIPT language=javascript>
- function FitSpread()
- {
- var s=document.getElementById("FpSpread1");
- if(document.all)
- s.SizeToFit(s.ActiveCol);
- else
- s.SizeToFit(s.GetActiveCol());
- }
- </SCRIPT>
复制代码 |