Batch/Block-Mode updates to Select Lists - How to avoid?



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]))



.



Relevant Pages

  • Re: Batch/Block-Mode updates to Select Lists - How to avoid?
    ... (The on screen appearance of the Select ... The problem is that none of the rows I'm inserting appear on the screen ... Does it happen with Version 7 or with other browsers? ... It is not clear from your description how do you handle the server ...
    (comp.lang.javascript)
  • Re: Batch/Block-Mode updates to Select Lists - How to avoid?
    ... ONevent/function I am retrieving all these lovely rows from the server and ... (The on screen appearance of the Select ... The problem is that none of the rows I'm inserting appear on the screen ... var T = document.getElementById.insertRow; ...
    (comp.lang.javascript)
  • Re: ssh and kerberos
    ... Your ssh_config file on both client and server ... Workaround: inserting the following in ... # How often to rotate kdc.log. ...
    (comp.unix.solaris)
  • Re: No Data After DataAdapter Update
    ... If all you are doing is inserting, ... Before you pass the dataset back to the adapter, ... You don't have to load the data from the server in order to use a data ... The data being transferred into the POI_Entity DataTable is from two XML ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Runtime Error ! R6025
    ... not dead. ... Well my toolbox and templates are on a server, so because I was losing the ... Do you get the error when inserting the part or adding a mate to the part? ... Have you cleaned up your temp folder? ...
    (comp.cad.solidworks)