Re: [gnome-db] GnomeDbGrid problem,



On Mon, 14 Feb 2005 00:07:59 +0100, ALVAROPG telefonica net
<ALVAROPG telefonica net> wrote:
> > >    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
> 

That was a bug I've corrected and will commit soon to CVS. Thanks for
the bug report.

Vivien



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