Re: [gnome-db] Caching list view/-model ?
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Peter Schulte-Stracke <Peter Schulte-Stracke t-online de>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Caching list view/-model ?
- Date: Sun, 27 Jul 2003 21:14:47 +0200
On Sun, 2003-07-27 at 14:53, Peter Schulte-Stracke wrote:
> Am 2003.07.23 23:24 schrieb(en) Rodrigo Moya:
>
> > > The libgnomedb appears to contain something in this direction, however
> > > a.t.m. I am still searching for it :-)
>
> > one way I've been thinking for doing this is to use the GnomeDbForm's
> > list mode to display a number of rows at a time. Then, you could
> > navigate to the next 10 and so on.
> >
> > Doing that in the grid widget seems a bit more difficult, although it
> > might be possible.
>
> Hmm, as far as I can see, it utilises gnome_db_list_set_model, which
> contains:
>
> if (model != NULL) {
> row_count = gda_data_model_get_n_rows (model);
> for (n = 0; n < row_count; n++) {
> const GdaValue *value;
>
> value = gda_data_model_get_value_at (model, col,
> n);
> if (value != NULL) {
> gda_data_model_list_append_value (
> GDA_DATA_MODEL_LIST (list->priv->data_model),
> value);
> }
> }
> }
>
> So it appears to just moving the data into a list for display. How can
> this work with a large record set?
>
I was talking about changing its current behavior, to act as I said in
my previous mail.
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]