Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

treeview population

3 posts in Objects Last posting was on 2003-01-31 14:07:21.0Z
Mark Pare Posted on 2003-01-31 02:00:26.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Mark Pare" <markpare@videotron.ca>
Subject: treeview population
Date: Thu, 30 Jan 2003 21:00:26 -0500
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: modemcable120.254-200-24.mtl.mc.videotron.ca 24.200.254.120
Message-ID: <364_PxSyq8MyCHA.155@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:154
Article PK: 712725

Does anyone know if there is a quick way of populating a treeview object
similar to ImportFile for datawindows? Using InsertItemLast (both syntaxes)
takes about 11 secs for 13,000 entries (which, unfortunately is too slow)

Any help would be appreciated. Thanks.


"De Permentier Davy" <no_spam Posted on 2003-01-31 14:07:21.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "De Permentier Davy" <no_spam@my_adress>
Subject: Re: treeview population
Date: Fri, 31 Jan 2003 15:07:21 +0100
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 193.190.121.69
Message-ID: <364_hRSmrSTyCHA.254@forums.sybase.com>
References: <364_PxSyq8MyCHA.155@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:152
Article PK: 712724

Hey,

First of all, I agree with philip... 13k entries in a treeview???
Anyway, try to construct your treeview like this: Just create the first
RootItem(s). When the user opens a certain RootItem, construct it's childs.
When the user now opens a Rootchild, construct it's childs etc. This way
you'll have a "construct as needed" treeview and the user won't have to wait
as long as before.

HTH,
Davy

"Mark Pare" <markpare@videotron.ca> wrote in message
news:PxSyq8MyCHA.155@forums.sybase.com...
> Does anyone know if there is a quick way of populating a treeview object
> similar to ImportFile for datawindows? Using InsertItemLast (both
syntaxes)
> takes about 11 secs for 13,000 entries (which, unfortunately is too slow)
>
> Any help would be appreciated. Thanks.
>
>


Philip Salgannik Posted on 2003-01-31 05:33:32.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Philip Salgannik" <philemax@attbi.com>
Subject: Re: treeview population
Date: Fri, 31 Jan 2003 00:33:32 -0500
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: h0020af718683.ne.client2.attbi.com 24.91.16.178
Message-ID: <364_gongvzOyCHA.155@forums.sybase.com>
References: <364_PxSyq8MyCHA.155@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:153
Article PK: 712727

Can you explain what your user is going to do with 13K entries loaded in a
treeview?

--
This is a FAQ, read Help, then search www.groups.google.com

pbm_thisusuallydoesnothelp:-))
Philip Salgannik

"Mark Pare" <markpare@videotron.ca> wrote in message
news:PxSyq8MyCHA.155@forums.sybase.com...
> Does anyone know if there is a quick way of populating a treeview object
> similar to ImportFile for datawindows? Using InsertItemLast (both
syntaxes)
> takes about 11 secs for 13,000 entries (which, unfortunately is too slow)
>
> Any help would be appreciated. Thanks.
>
>