:: com :: sun :: star :: form ::
|
deprecated |
interface XGridFieldDataSupplier |
|
|
|
- Usage Restrictions
- deprecated
- Description
- provides access to the data of a GridControl
You can retrieve the data type information and the data in a row.
This interface allows to retrieve data even for rows which are not current, which is quite useful,
as normally, you can't affect the current row in a grid control without moving the cursor of the underlying
::com::sun::star::form::component::DataForm.
- See also
- XGrid, ::com::sun::star::form::control::GridControl, ::com::sun::star::form::component::GridControl
|
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
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.