InsertCol

<< Click to Display Table of Contents >>

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

InsertCol


 

Insert a column.

 


syntax

InsertCol(

         col,

         num

         [,data]

         )

 


Parameters

 

col


Type:

Number


index of the column to insert into (column 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 column is inserted before the column at the specified index. If the index is less than or equal to -1, the column is inserted after the column at the specified index.

 

num


Type:

Number


The number of columns to insert.

 

data


Type:

array


Additional data.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference