[Gambas-user] GridView not refreshing

M. Cs. mohareve at ...626...
Thu Feb 5 15:01:13 CET 2009


>
> Clear method to void it, or you use the Data event, and then you must
> provide
> the data when the GridView asks for it.

This is my problem. How shall be the the gV_Data() event invoken, if not
explicitelly?
How can GridView ask for it?
There are only two options to fill the  grid:
1. With gV[x,y].Text=... this is slow
2. Or to pass the values  with gV_Data(x,y) and a global variable one by
one.

The 2. way is how I've filled my table 80.000 x 5 in 30 seconds. Each time I
require the search, the program fills the table using the same procedure.
Now, when I'm clicking on a column's header and invoke a function
ColumnSort(), it does the sort of arrays containing the data to be
displayed, and it is trying to invoke the gV_Data(). Where  am I wrong?
I don't understand what should an user do with the grid to invoke the Data
event. Am I clear?



More information about the User mailing list