主要JS代码如下:
<script type="text/javascript"> function SetSpreadCursor() { 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 for ASP.NET 6.0.3505
- 5041_Cursor.zip (7.09 K, 下载次数:18)