:: com :: sun :: star :: form ::

interface XGridFieldDataSupplier

Methods' Summary
queryFieldDataType checks whether or not the content of the grid's columns can be retrieved in the requested format.  
queryFieldData retrieves the actual column data for the given row  
Methods' Details
queryFieldDataType
sequence< boolean >
queryFieldDataType( [in] type  xType );

Description
checks whether or not the content of the grid's columns can be retrieved in the requested format.

Not every cell content can be retrieved in every representation. For example, in a text column, you usually won't be able to retrieve the content as double.
To check if the type you need is supported by the columns, use this method.

Returns
A sequence of boolean flags. Each flag corresponds to the respective column, and true indicates that the column content can be retrieved in the requested format, false denies this.
See also
XGridColumnFactory, DataAwareControlModel, XGridFieldDataSupplier::queryFieldData
queryFieldData
sequence< any >
queryFieldData( [in] long  nRow,
[in] type  xType );

Description
retrieves the actual column data for the given row

If a column does not support the requested type, NULL is returned at the respective position.

See also
XGridFieldDataSupplier::queryFieldDataType
Top of Page