:: com :: sun :: star :: awt :: grid ::

unpublished service UnoControlGrid
Usage Restrictions
not published
Description
A control that displays a set of tabular data.

The Column Model

The horizontal structure of the grid is defined by the XGridColumnModel implemented in DefaultGridColumnModel The XGridColumn implemented in GridColumn describes the properties and behavior of a single column. Use the XGridColumnModel::addColumn() to add a column to the column model.

The Data Model

All row data are stored in the XGridDataModel. Use the DefaultGridDataModel to add XGridDataModel::addRow() or remove XGridDataModel::removeRow() rows.

The column and data model must be set at the UnoControlGridModel::ColumnModel and UnoControlGridModel::GridDataModel properties.

Selection

If you are interested in knowing when the selection changes implement a XGridSelectionListener and add the instance with the method XGridRowSelection::addSelectionListener(). You than will be notified for any selection change.

Since
OOo 3.3

Included Services - Summary
::com::sun::star::awt::UnoControl
(referenced entity's summary:)
specifies an abstract control.
Exported Interfaces - Summary
XGridControl
(referenced entity's summary:)
An interface to a control that displays a tabular data.
XGridRowSelection
(referenced entity's summary:)
This interfaces provides access to the selection of row for UnoControlGrid.
Included Services - Details
::com::sun::star::awt::UnoControl
(referenced entity's summary:)
specifies an abstract control.
Exported Interfaces - Details
XGridControl
(referenced entity's summary:)
An interface to a control that displays a tabular data.
XGridRowSelection
(referenced entity's summary:)
This interfaces provides access to the selection of row for UnoControlGrid.

 
Top of Page