## GdauiGrid

GdauiGrid — Grid widget to manipulate data in a GdaDataModel, with decorations

## Synopsis

                        GdauiGrid;
    GtkWidget *         gdaui_grid_new                      (GdaDataModel *model);
    void                gdaui_grid_set_sample_size          (GdauiGrid *grid,
                                                             gint sample_size);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----GtkVBox
                                           +----GdauiGrid

## Implemented Interfaces

GdauiGrid implements AtkImplementorIface, GtkBuildable, GtkOrientable, GdauiDataProxy and GdauiDataSelector.

## Properties

      "info"                     GdauiDataProxyInfo*   : Read
      "info-flags"               GdauiDataProxyInfoFlag  : Read / Write
      "model"                    GdaDataModel*         : Read / Write / Construct Only
      "raw-grid"                 GdauiRawGrid*         : Read

## Description

## Details

### GdauiGrid

    typedef struct _GdauiGrid GdauiGrid;

### gdaui_grid_new ()

    GtkWidget *         gdaui_grid_new                      (GdaDataModel *model);

Creates a new GdauiGrid widget suitable to display the data in `model`

`model` : | a GdaDataModel
Returns : | the new widget. [transfer full]

Since 4.2

### gdaui_grid_set_sample_size ()

    void                gdaui_grid_set_sample_size          (GdauiGrid *grid,
                                                             gint sample_size);

Sets the size of each chunk of data to display: the maximum number of rows which can be displayed at a time. See `gdaui_raw_grid_set_sample_size()` and `gda_data_proxy_set_sample_size()`

`grid` : | a GdauiGrid widget
`sample_size` : | the size of the sample displayed in `grid`

Since 4.2

## Property Details

### The `"info"` property

      "info"                     GdauiDataProxyInfo*   : Read

### The `"info-flags"` property

      "info-flags"               GdauiDataProxyInfoFlag  : Read / Write

Default value: GDAUI_DATA_PROXY_INFO_CURRENT_ROW

### The `"model"` property

      "model"                    GdaDataModel*         : Read / Write / Construct Only

### The `"raw-grid"` property

      "raw-grid"                 GdauiRawGrid*         : Read

## See Also

The GdauiRawGrid widget which is used by the GdauiGrid widget.