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

Glossary Item Box

Inserts a new row before the row with the active cell.

Syntax

[JavaScript]

FpSpread1.Insert();

Parameters

None

Return Type

None

Remarks

This method is similar to pressing the Insert button on the command bar. This method causes a postback to occur. When this method is called, the Insert event is rasied on the server.

Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

JavaScript Copy Code
<SCRIPT language=javascript>
   function onInsertButtonClick() {
       FpSpread1.Insert(); // insert a row
   }
</SCRIPT>

See Also

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