Cut

<< Click to Display Table of Contents >>

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

Cut


 

Clips the grid data.

 


Syntax 1

Cut(

         areaType

         )

 

Cut the data in the cells in the specified area.

 


Parameters

 

areaType


Type:

character


"all" - All cells.

"select" - The currently selected range of cells.

"cursor" - The cell where the cursor is currently located. If only one cell is selected, this is the same as "select".

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 

 


Syntax 2

Cut (

         "cell",

         displayCol,

         displayRow        

         )

 

Cut the data in the specified cell.

 


Parameters

 

areaType


Type:

character


"cell"

 

displayCol


Type:

Number


ColumnDisplay index (column number starting from 0).

 

displayRow


Type:

Number


Display index of the row (row number starting from 0).

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 

 


Syntax 3

Cut (

         "row",

         displayRow

         )

 

Cuts the data in the specified row.

 


Parameters

 

areaType


Type:

character


"row"

 

displayRow


Type:

Number


Display index of the row (row number starting from 0).

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 

 


Syntax 4

Cut (

         "col",

         displayCol

         )

 

Cuts the data in the specified column.

 


Parameters

 

areaType


Type:

character


"col"

 

displayCol


Type:

Number


ColumnDisplay index (column number starting from 0).

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 

 


Syntax 5

Cut (

         "range",

         displayCol1,

         displayRow1,

         displayCol2,

         displayRow2

         )

 

Cut the data in the specified range of cells.

 


Parameters

 

areaType


Type:

character


"range"

 

displayCol1


Type:

character


Display index of column 1 (column number starting from 0).

 

displayRow1


Type:

Number


Display index of row 1 (row number starting from 0).

 

displayCol2


Type:

Number


Display index of column 2 (column number starting from 0).

 

displayRow2


Type:

Number


Display index of row 2 (row number starting from 0).

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference