回复 5楼sam的帖子
sam 你好
我这边重写了一个PopupCelltype,支持IE和FireFox,更多的功能需要你进一步细化,具体请参考附件中的代码:
- <script type="text/javascript" language="javascript">
- function ShowPopupForm() {
- FpSpread1.EndEdit();
- var text = FpSpread1.GetValue(FpSpread1.GetActiveRow(), FpSpread1.GetActiveCol());
- var myWindow = window.showModalDialog("PopupForm.aspx?searchkey=" + encodeURI(text), "请选中一个值!", "dialogWidth=600px;dialogHeight=300px;directories=0;channelmode=0;fullscreen=0;menubar=0;titlebar=1;center=1;help=0;status=0;toolbar=0;location=0");
- FpSpread1.SetValue(FpSpread1.GetActiveRow(), FpSpread1.GetActiveCol(),myWindow)
- }
- </script>
复制代码
0000_Popup.zip
(31.57 KB, 下载次数: 337)
|