Skip to content

TelerikRadGridView

Telerik RadGridView.

UI element class: Telerik.WinControls.UI.RadGridView

Extends ManagedDataGridView

Extends SeSSimulatedObject

Behavior Pattern: TelerikGridViewBehavior

Property Summary

Property Description Getter Setter
Cell Text of the specified cell. GetCell
ColumnCount Number of columns in the table. GetColumnCount
ColumnName Caption of a column. GetColumnName
RowCount Number of rows in the table. GetRowCount
SelectedCell Selected Cell GetSelectedCell
Text Text of the currently focused cell. GetText

Action Summary

Action Description
DoClickCell Clicks the specified cell.
DoClickText Clicks on a specific text inside the grid.

Property Detail

Cell

Text of the specified cell.

Getter Parameters:

Name Type Description
row number Zero-based index if the row.
col number Zero-based index of the column.

Type: string

Accessors: GetCell

value = SeS('SomeTelerikRadGridView').GetCell(/**number*/row, /**number*/col)

ColumnCount

Number of columns in the table.

Type: number

Accessors: GetColumnCount

value = SeS('SomeTelerikRadGridView').GetColumnCount()

ColumnName

Caption of a column.

Getter Parameters:

Name Type Description
col number Zero-based index of the column.

Type: string

Accessors: GetColumnName

value = SeS('SomeTelerikRadGridView').GetColumnName(/**number*/col)

RowCount

Number of rows in the table.

Type: number

Accessors: GetRowCount

value = SeS('SomeTelerikRadGridView').GetRowCount()

SelectedCell

Selected Cell

Type: object

Accessors: GetSelectedCell

value = SeS('SomeTelerikRadGridView').GetSelectedCell()

Text

Text of the currently focused cell.

Type: string

Accessors: GetText

value = SeS('SomeTelerikRadGridView').GetText()

Action Detail

DoClickCell

Clicks the specified cell.

SeS('SomeTelerikRadGridView').DoClickCell(row, col, clickType, xOffset, yOffset)

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 Possible values: "L", "LD", "R", "RD", "M", "MD", "N"
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

DoClickText

Clicks on a specific text inside the grid.

SeS('SomeTelerikRadGridView').DoClickText(textOrRegexp, clickType)

Parameters:

Name Type Description
textOrRegexp string Text (or regex: expression) to search in the grid.
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 Possible values: "L", "LD", "R", "RD", "M", "MD", "N"
Optional, Default: "L".

Returns:

'true' if successful, 'false' otherwise