UltraWinGrid

WinForms. UltraWinGrid

UltraWinGrid

Constructor

new UltraWinGrid()

An Infragistics UltraWinGrid object.

Methods

activateCell(rowOrRowPath, columnHeader) → {Promise.<void>}

Double-clicks the specified cell in this grid..
Parameters:
NameTypeDescription
rowOrRowPathnumber | stringThe 0-based row number or row path.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the activateCell operation ends.
Type
Promise.<void>

activateColumn(bandLevel, columnHeader) → {Promise.<void>}

Double-clicks the specified column header in this grid.
Parameters:
NameTypeDescription
bandLevelnumberThe 0-based band level.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the activateColumn operation ends.
Type
Promise.<void>

activateRow(rowPath) → {Promise.<void>}

Double-clicks the specified row header in this grid.
Parameters:
NameTypeDescription
rowPathstringThe row as a string in the format: "n1;n2;...nX" where n is the row number in each band level.
Returns:
a promise that is fulfilled when the activateRow operation ends.
Type
Promise.<void>

addRow(addButtonName, newRowPathopt) → {Promise.<void>}

Adds a new row to the table band using the Add button for the corresponding band.
Parameters:
NameTypeAttributesDescription
addButtonNamestringThe name of the Add button corresponding to the band to which you want to add a row.
newRowPathstring <optional>
The band path that shows where the row is added in the format: "n1;n2;...;nX" where n is the row number in each band level.
Returns:
a promise that is fulfilled when the addRow operation ends.
Type
Promise.<void>

collapseRow(rowOrRowPath) → {Promise.<void>}

Collapses the specified row.
Parameters:
NameTypeDescription
rowOrRowPathstring | numberThe 0-based row index or the row as a string in the format: "n1;n2;...;nX" where n is the row number in each band level.
Returns:
a promise that is fulfilled when the collapseRow operation ends.
Type
Promise.<void>

columnCount() → {Promise.<number>}

Get the number of columns
Returns:
a promise that is fulfilled with the number of columns
Type
Promise.<number>

expandRow(rowOrRowPath) → {Promise.<void>}

Expands the specified row.
Parameters:
NameTypeDescription
rowOrRowPathstring | numberThe 0-based row index or the row as a string in the format: "n1;n2;...;nX" where n is the row number in each band level.
Returns:
a promise that is fulfilled when the expandRow operation ends.
Type
Promise.<void>

getCell(rowOrRowPath, columnOrColumnHeader) → {WinForms.TableCell}

Returns the specified cell.
Parameters:
NameTypeDescription
rowOrRowPathstring | number0-based row number or row path.
columnOrColumnHeaderstring | number0-based column index or column caption.
Returns:
the TableCell.
Type
WinForms.TableCell

makeCellVisible(rowOrRowPath, columnHeader) → {Promise.<void>}

Scrolls the specified cell into view.
Parameters:
NameTypeDescription
rowOrRowPathnumber | stringThe 0-based row number or row path.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the makeCellVisible operation ends.
Type
Promise.<void>

openSummaryDialog(bandLevel, columnHeader) → {Promise.<void>}

Opens the summary dialog box for the specified column.
Parameters:
NameTypeDescription
bandLevelnumberThe band level for which you want to open the dialog box.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the openSummaryDialog operation ends.
Type
Promise.<void>

rowCount() → {Promise.<number>}

Get the number of rows
Returns:
a promise that is fulfilled with the number of rows
Type
Promise.<number>

selectCell(rowOrRowPath, columnHeader) → {Promise.<void>}

Selects the specified cell in this grid.
Parameters:
NameTypeDescription
rowOrRowPathstring | number0-based row number or row path.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the selectCell operation ends.
Type
Promise.<void>

selectColumn(bandLevel, columnHeader) → {Promise.<void>}

Selects column by column index or column caption.
Parameters:
NameTypeDescription
bandLevelnumberThe band level for which you want to open the dialog box..
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the selectColumn operation ends.
Type
Promise.<void>

selectRow(rowPath) → {Promise.<void>}

Clicks the specified row header in this grid.
Parameters:
NameTypeDescription
rowPathstringThe row as a string in the format: "n1;n2;...;nX" where n is the row number in each band level.
Returns:
a promise that is fulfilled when the collapseRow operation ends.
Type
Promise.<void>

setFilter(bandLevel, columnHeader, filter) → {Promise.<void>}

Applies the specified filter string to the specified column.
Parameters:
NameTypeDescription
bandLevelnumberThe 0-based band level.
columnHeaderstringThe column caption.
filterstringA value in the column to be used as the filter
Returns:
a promise that is fulfilled when the setFilter operation ends.
Type
Promise.<void>

sort(bandLevel, columnHeader) → {Promise.<void>}

Sorts this table by the specified column (ascending).
Parameters:
NameTypeDescription
bandLevelnumberThe 0-based band level.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the sort operation ends.
Type
Promise.<void>

sortDescending(bandLevel, columnHeader) → {Promise.<void>}

Sorts this table by the specified column (descending).
Parameters:
NameTypeDescription
bandLevelnumberThe 0-based band level.
columnHeaderstringThe column caption.
Returns:
a promise that is fulfilled when the sort operation ends.
Type
Promise.<void>

tableTestObject() → {WinForms.Table}

Returns the Table test object this custom grid was accessed from.
Returns:
the tableTestObject.
Type
WinForms.Table