回复 1楼supper3000的帖子
您的用法是正确的,是这2个函数,一个前台、一个后台。
具体的使用可参考:
- Example 1
- This is a sample that contains the method.
- On the server side on page load:
- Code Copy Code
- FpSpread1.AllowClientUnlock = True
- On the client side, the script that contains the method would look like this:
- JavaScript Copy Code
- <SCRIPT language=javascript>
- function ProfileSpread()
- {
- var spread = document.getElementById("FpSpread1");
- spread.Cells(row, column).SetLocked(true);
- }
- </SCRIPT>
复制代码
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > SetLocked
若还有问题,最好能给提供一个简易的demo,这样方便我们定位问题。 |