good work !
2009/3/27 Jesus Guardon :
> Fabien Bodard escribió:
>>
>> simply the handle name is not good... you have named your gridview
>> "gv" and not "GridView1"... it's an usual copy&paste error ;-)
>>
>
> Ha ha... it's my mistake. Finally I get it working, really really fast
> method. A lot o
Fabien Bodard escribió:
simply the handle name is not good... you have named your gridview
"gv" and not "GridView1"... it's an usual copy&paste error ;-)
Ha ha... it's my mistake. Finally I get it working, really really fast
method. A lot of thanks for your help, I was mind-closed for a while
simply the handle name is not good... you have named your gridview
"gv" and not "GridView1"... it's an usual copy&paste error ;-)
PUBLIC SUB gv_Data(Row as integer, Column as integer)
you have put the column between comma... this pactice is for the
translated strings... but if you translate colum
Still nothing... Data event seems to be not fired.
Please, check the modified example:
http://www.ea7dfh.es/demotableview.tar.gz
This includes the sqlite3 database and is too big to attach in the
e-mail.( ~600 Kb)
What I'm doing wrong?
Regards and thanks for your patience
Jesús
Hi again
Now it's much clearer. Thanks Rolf and Fabien for your help, I think now
I will be able to get it working. Sorry for my ignorance.
Best regards
Jesús
Fabien Bodard escribió:
> i hope this help you , it's a short example of the gridview
> capabilities in dynamic mode. (at my feel, it's
i hope this help you , it's a short example of the gridview
capabilities in dynamic mode. (at my feel, it's more powerfull than
the static one)
demotableview-0.0.1.tar.gz
Description: GNU Zip compressed data
--
__
No, you don't fill it, it fills itself :-)
As soon as you change anything in the gridview (number of rows/columns
for instance) or there is any event forcing it to rewrite its contents
(the user switching screens or a .Refresh by your code), it jumps into
the _Data event for every cell and relo
Thanks for reply, but still not clear...
Your example only draws a grid with empty cells. I can't figure out how
to fill the grid with a database result object, even with a simple
array. Please, open my eyes!! :-((
Jesus
Fabien Bodard escribió:
> in fact jesus , you don't feel the grid,
> the
in fact jesus , you don't feel the grid,
the grid just call the visible cells content via the event.
dim myarray[16000,16000]
public sub _New()
gridview1.Rows.Count = 16000
gridView1.Columns.Count = 16000
end
public sub gridview1_data(row as integer, column as integer)
gridview1.data.t
Hi all
I'm trying to implement the Data event handler, but I cannot understand
the way it must be done. I am locked out, sorry for my awkwardness.
Can anyone provide a basic working example? I need to fill a gridview
with 16000+ rows.
Thanks in advance!
Jesús
Benoit Minisini escribió:
>
> Y
Thanks Benoit,
it WORKS!
Now the speed is O.K.
God bless you!
Csaba
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
On mercredi 28 janvier 2009, M. Cs. wrote:
> Dear Benoit,
> I would like to know whether it is possible to make GridView creation and
> filling process faster. I'm using databases for storage, then I'm doing the
> querries, which are giving tens of thousand results, or tens of thousand
> rows with
Dear Benoit,
I would like to know whether it is possible to make GridView creation and
filling process faster. I'm using databases for storage, then I'm doing the
querries, which are giving tens of thousand results, or tens of thousand
rows with five columns each. First, I put the results into five
This is an excerpt from my program:
visszhang = DBconX.Exec(quert)
FOR EACH visszhang
nev.Add(visszhang!"FName")
ut.Add(visszhang!"FPath")
nagy.Add(Round(visszhang!"FSize" / 1048576, -2))
mikor.Add(visszhang!"FChanged")
kotet.Add(point)
NEXT
dis = nev.Count
gV.Rows.Count = dis
FOR i = 0 TO dis -
14 matches
Mail list logo