SetGridLine

<< Click to Display Table of Contents >>

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

SetGridLine


 

Show or hide cell borders.

 


syntax

SetGridLine(

         startCol,

         startRow,

         endCol,

         endRow,

         leftLine,

         topLine,

         rightLine,

         bottomLine

         [,horizontalLine = 0]

         [,verticalLine = 0]

         )

 


Parameters

 

startCol


Type:

Number


Index of the top left column of the cell range.

 

startRow


Type:

Number


Index of the top left row of the cell range.

 

endCol


Type:

Number


Index of the bottom right column of the cell range.

 

endRow


Type:

Number


Index of the bottom right row of the cell range.

 

leftLine


Type:

Number


Left border of cell range. 0 - hidden, 1 - visible.

 

topLine


Type:

Number


Top border of cell range. 0 - hidden, 1 - visible.

 

rightLine


Type:

Number


Right border of cell range. 0 - hidden, 1 - visible.

 

bottomLine


Type:

Number


Bottom outline of cell range. 0 - hidden, 1 - visible.

 

horizontalLine


Type:

Number


Horizontal lines for all cells in the selected range. 0-hidden, 1-visible.

 

verticalLine


Type:

Number


Vertical lines for all cells in the selected range. 0-hidden, 1-visible.

 


hmtoggle_plus1Explanation

 


reference

 

AddStyle