Spread for ASP.NET 7.0 Product Documentation
GetLocked
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetLocked

Glossary Item Box

Gets whether the cell at the specified row and column is locked.

Syntax

[JavaScript]

FpSpread1.GetLocked();

Parameters

None

Return Type

locked
Boolean, whether the cell is locked 

Remarks

This method gets the locked status of a cell at the specified row and column. This method does not cause a postback to occur.

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).GetLocked();
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.