Batch/Block-Mode updates to Select Lists - How to avoid?
- From: "Richard Maher" <maher_rj@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 17 Mar 2007 20:52:54 +0800
Hi,
I have this Applet-hosted Socket connection to my server and in an
ONevent/function I am retrieving all these lovely rows from the server and
inserting them into the Select-List. (The on screen appearance of the Select
List grows for the first 5 rows then the scroll bar appears if there's
more). So far so good. . .
The problem is that none of the rows I'm inserting appear on the screen
until I have RETURNed from my function; so If it ended up being 1000 rows
then the user sees nothing until they're *all* processed :-( Is this an
IE6-only thing? Does it happen with Version 7 or with other browsers? This
is disgusting!
Is there an option to set somewhere?
Do I have to hack/force some sort of event (with coresponding ONfunction)
and then RETURN from my function and have the ensuing function call me back
and repeat till eof? Yuck.
All I want to do is see my rows grow and counter increment in the
select-list (or table) as they appear; is that really too much to ask? Is
IBM3270 emulation crap really as far as we've got?
Regards Richard Maher
PS. The funny thing (or glimmer of hope!) is, when I loop till
list.options.length = 0 {list.remove(list.options[0])} I see the rows
disappear before my eyes. (Admittedly when i set the list.size = 1 it does
not take immediate effect but we're getting somewhere right? (I set it to 1
'cos I re-insert a "header row" at [0]))
.
- Follow-Ups:
- Re: Batch/Block-Mode updates to Select Lists - How to avoid?
- From: VK
- Re: Batch/Block-Mode updates to Select Lists - How to avoid?
- From: ASM
- Re: Batch/Block-Mode updates to Select Lists - How to avoid?
- From: scripts . contact
- Re: Batch/Block-Mode updates to Select Lists - How to avoid?
- Prev by Date: Re: modifying pull-down menus
- Next by Date: Re: Encryption Question
- Previous by thread: modifying pull-down menus
- Next by thread: Re: Batch/Block-Mode updates to Select Lists - How to avoid?
- Index(es):
Relevant Pages
|