SetColWidth

<< Click to Display Table of Contents >>

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

SetColWidth


 

Sets the column width.

 


syntax

SetColWidth(

         col,

         width

         [,count = 1]

         )

 

 


Parameters

 

col


Type:

Number


Index of the column starting from 0. If you want to specify the header section, specify the index in the negative direction starting from -1.

 

width


Type:

Number


Width. If you specify an array, you can specify the width of each column in order from the column specified by the Col argument to the right. The count argument is ignored.

 

count


Type:

Number


The number of columns to set the width to.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference

 

AddStyle