Grid - ValueAt Property

Value at the specified location

Member of Grid (PRIM_GRID)

Data Type - Variant

Parameters

Name Type Data Type Description
Row *Input Integer Row from which to obtain the value
Column *Input Integer Column from which to obtain the value

Details

ValueAt can be used to get a value from a list cell.
 
This allows a value to be retrieved without needing to use LANSA list commands such as GET_ENTRY, and without needing to know the fields being used as the source of a column.

Example

This example retrieves a value from the third column for the list focus item.
#Value := #List.ValueAt<#List.FocusItem.Entry 3>

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020