理解你的需求了,你可以使用下面的方法来设置,详情请参考附件:
- <script type="text/javascript">
- function SetFpSpreadCursor() {
- var cell = event.srcElement;
- while ((cell != null) && (cell.id.indexOf("<%=FpSpread1.ClientID %>") == -1)) {
- cell = cell.parentElement;
- }
- if ((cell != null) && (cell.id.indexOf("<%=FpSpread1.ClientID %>") != -1)) {
- event.srcElement.style.cursor = "help";
- }
- }
- </script>
复制代码
VS2010 + Spread 6.0.3505:
5041_Cursor.zip
(7.04 KB, 下载次数: 677)
|