Table of Contents

Interface IDesktopTableBehavior

Desktop functionality provided for SAPUI5 tables. See Desktop

Namespace: HP.LFT.SDK.SAP.UI5
Assembly: HP.LFT.SDK.dll
Syntax
public interface IDesktopTableBehavior

Properties

CurrentPage

The current page number in this table.

Declaration
uint CurrentPage { get; }
Property Value
Type Description
uint

Methods

ClickColumnHeader(string)

Clicks the header of the specified column according to its name.

Declaration
void ClickColumnHeader(string columnName)
Parameters
Type Name Description
string columnName

the column name to click.

ClickColumnHeader(uint)

Clicks the header of the specified column according to its index.

Declaration
void ClickColumnHeader(uint columnNumber)
Parameters
Type Name Description
uint columnNumber

the column number to click (1-based).

FirstPage()

Scrolls the table to the first page.

Declaration
void FirstPage()

LastPage()

Scrolls the table to the last page.

Declaration
void LastPage()

MoveColumn(string, string)

Moves the specified column to the specified column position.

Declaration
void MoveColumn(string column, string toColumn)
Parameters
Type Name Description
string column

the name of the column to move.

string toColumn

the name of the column to move to.

MoveColumn(string, uint)

Moves the specified column to the specified column position.

Declaration
void MoveColumn(string column, uint toColumnNumber)
Parameters
Type Name Description
string column

the name of the column to move.

uint toColumnNumber

the column number to move to (1-based).

MoveColumn(uint, string)

Moves the specified column to the specified column position.

Declaration
void MoveColumn(uint columnNumber, string toColumn)
Parameters
Type Name Description
uint columnNumber

the number of the column to move (1-based).

string toColumn

the column to move to.

MoveColumn(uint, uint)

Moves the specified column to the specified column position.

Declaration
void MoveColumn(uint columnNumber, uint toColumnNumber)
Parameters
Type Name Description
uint columnNumber

the number of the column to move (1-based).

uint toColumnNumber

the number of the column to move to (1-based).

NavigateToPage(uint)

Scrolls the table to the specified page.

Declaration
void NavigateToPage(uint pageNumber)
Parameters
Type Name Description
uint pageNumber

the page number to scroll to

NextPage()

Scrolls the table to the next page.

Declaration
void NextPage()

OpenMenu(string)

Clicks the column header (according to its name) to open the associated menu.

Declaration
void OpenMenu(string columnName)
Parameters
Type Name Description
string columnName

the column name to click.

OpenMenu(uint)

Clicks the column header (according to its index) to open the associated menu.

Declaration
void OpenMenu(uint columnNumber)
Parameters
Type Name Description
uint columnNumber

the column number to click (1-based).

PreviousPage()

Scrolls the table to the previous page.

Declaration
void PreviousPage()

ResizeColumn(string, uint)

Resizes the specified column (according to its name) to the specified width.

Declaration
void ResizeColumn(string column, uint width)
Parameters
Type Name Description
string column

the name of the column to resize

uint width

the new column width

ResizeColumn(uint, uint)

Resizes the specified column (according to its index) to the specified width.

Declaration
void ResizeColumn(uint columnNumber, uint width)
Parameters
Type Name Description
uint columnNumber

the number of the column to resize (1-based).

uint width

the width to resize to.