This page is maintained for older versions of Rapise only. The latest documentation can be found at: https://rapisedoc.inflectra.com
DynamicsAXTable

DynamicsAXTable

Top  Previous  Next

 

Behavior patterm for Dynamics AX grid/table. Extends UIAObject. Extends SeSSimulatedObject.

 

Behavior Pattern: DynamicsAXTableBehavior

 

Property Summary

 

Property

Description

Getter

Setter

Cell

Text of the specified cell.

GetCell


CellObject

UIAObject for the specified cell.

GetCellObject


ColumnCount

Number of columns in the grid.

GetColumnCount


ColumnIndex

Zero-based index of the column.

GetColumnIndex


ColumnName

Caption of a column.

GetColumnName


ColumnValues

Values of cells in a column

GetColumnValues


RowCount

Number of rows in the grid.

GetRowCount


 

Action Summary

 

Action

Description

DoClickCell

Clicks the specified cell.

DoClickColumn

Clicks on column header

DoScroll

Scrolls table horizontally and vertically.

 

Property Detail

 

Cell

Text of the specified cell.

 

Getter Parameters:

 

Name

Type

Description

row

number |
string

Zero-based index of a row or cell text.

col

string |
number

Name of a column or zero-based column index.

 

Type: string

 

Accessors: GetCell

 

CellObject

UIAObject for the specified cell.

 

Getter Parameters:

 

Name

Type

Description

row

number |
string

Zero-based index of a row or cell text.

col

string |
number

Name of a column or zero-based column index.

 

Type: object

 

Accessors: GetCellObject

 

ColumnCount

Number of columns in the grid.

 

Type: number

 

Accessors: GetColumnCount

 

ColumnIndex

Zero-based index of the column.

 

Getter Parameters:

 

Name

Type

Description

columnName

string

Name of a column.

 

Type: number

 

Accessors: GetColumnIndex

 

ColumnName

Caption of a column.

 

Getter Parameters:

 

Name

Type

Description

columnIndex

number

Zero-based index of the column.

 

Type: string

 

Accessors: GetColumnName

 

ColumnValues

Values of cells in a column

 

Getter Parameters:

 

Name

Type

Description

columnIndex

number

Zero-based index of the column.

maxCount

number

Maximum number of values to return. Zero means everything.

 

Type: Array

 

Accessors: GetColumnValues

 

RowCount

Number of rows in the grid.

 

Type: number

 

Accessors: GetRowCount

 

Action Detail

 

DoClickCell(row, col, clickType, xOffset, yOffset)

Clicks the specified cell.

 

Parameters:

 

Name

Type

Description

row

number |
string

Zero-based index if the row or text of a cell in the specified column.

col

string |
number

Zero-based index of the column or column name.

clickType

string

Type of click, can be one of "L" - left click, "LD" - double left click, "R" - right click, "RD" - double right click, "M" - middle click, "MD" - double middle click, "N" - don't click
Optional, Default: L.

xOffset

number

X offset to click within node. Default is a center.
Optional.

yOffset

number

Y offset to click within node. Default is a center.
Optional.

 

Returns:

 

boolean: 'true' if successful, 'false' otherwise

 

DoClickColumn(col, clickType, xOffset, yOffset)

Clicks on column header

 

Parameters:

 

Name

Type

Description

col

number |
string

Zero-based index of the column or column name.

clickType

string

Type of click, can be one of "L" - left click, "LD" - double left click, "R" - right click, "RD" - double right click, "M" - middle click, "MD" - double middle click, "N" - don't click
Optional, Default: L.

xOffset

number

X offset to click within node. Default is a center.
Optional.

yOffset

number

Y offset to click within node. Default is a center.
Optional.

 

DoScroll(horizontalPercent, verticalPercent)

Scrolls table horizontally and vertically.

 

Parameters:

 

Name

Type

Description

horizontalPercent

number

Percent value from 0 to 100. -1 means no horizontal scroll.

verticalPercent

number

Percent value from 0 to 100. -1 means no vertical scroll.