To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

C1TableCell

WinForms. C1TableCell

C1TableCell

Constructor

new C1TableCell()

A C1TableCell object

Methods

columnName() → {Promise.<string>}

The column header name of the cell.
Returns:
a promise that is fulfilled with the column header name of the cell.
Type
Promise.<string>

height() → {Promise.<Number>}

The height of the cell in pixels.
Returns:
a promise that is fulfilled with the height of the cell in pixels.
Type
Promise.<Number>

sendChars(value) → {Promise.<void>}

Types the data into this cell one character at a time.
Parameters:
Name Type Description
value Object the value to enter.
Returns:
a promise that is fulfilled when the sendChars operation ends.
Type
Promise.<void>

setValue(value) → {Promise.<void>}

Sets the cell to a new value.
Parameters:
Name Type Description
value string | Number The new value to be set.
Returns:
a promise that is fulfilled when the operation is performed.
Type
Promise.<void>

value() → {Promise.<Object>}

The content of the cell.
Returns:
a promise that is fulfilled with the content of the cell.
Type
Promise.<Object>

width() → {Promise.<Number>}

The width of the cell in pixels.
Returns:
a promise that is fulfilled with the width of the cell in pixels.
Type
Promise.<Number>

x() → {Promise.<Number>}

The X-coordinate in pixels of the cell relative to the table.
Returns:
a promise that is fulfilled with the X-coordinate in pixels of the cell relative to the table.
Type
Promise.<Number>

y() → {Promise.<Number>}

The Y-coordinate in pixels of the cell relative to the table.
Returns:
a promise that is fulfilled with the Y-coordinate in pixels of the cell relative to the table.
Type
Promise.<Number>