InsertRow

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Grid control > Methods >

InsertRow


 

Insert a row.

 


syntax

InsertRow(

         row,

         num

         [,data]

         )

 


Parameters

 

row


Type:

Number


Index of the row to insert (row number starting from 0). If you want to specify the header section, specify the index in negative order starting from -1.

If the index is greater than or equal to 0, the row is inserted before the row at the specified index. If the index is less than or equal to -1, the row is inserted after the row at the specified index.

 

num


Type:

Number


The number of rows to insert.

 

data


Type:

array


Additional data.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference