Re: [gnome-db] GnomeDbGrid problem,



> >    The columns in a GnomeDbGrid are disordered, from greater to 
> smaller> respect their position in the model. It's a bug or a feature?
> > 
> > regards, apg.
> 
> It looks like a bug, but can you be more specific (a bit of the code
> involved would be nice)?

only :

gnome_db_grid_set_gda_model (
                    GNOME_DB_GRID (tool_window->priv->data_grid),
                    gnome_db_get_default_dict (),
                    GDA_DATA_MODEL (table));

the first column showed in the grid is the last column in the model,

model:
position -> 1  |  position -> 2 | position -> 3

grid:
position -> 3  |  position -> 2 | position -> 1



regards, apg





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]