| Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Insert | 
Inserts a new row before the row with the active cell.
[JavaScript]
FpSpread1.Insert();
None
None
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.
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>  | 
            |