Just an update on doing the partial-match-as-you-type with a :<tree>
element.

It all works fine and does exactly what I need.  I used a completely
standard <tree> that I built dynamically using JavaScript from the
data retrieved from the SQL server.  There were a few attributes that
I needed to use to get what I wanted; these include
hidecolumnpicker="true", seltype="single"  and
disableKeyNavigation="true".  I use an onkeypress() to match the
partial key as the user types and the list is automatically scrolled
to show the matching item in the tree's window - all done in JS.  The
user can also select with cursor keys, mouse-pointer, enterkey and
doubleclick.  It does all that I can wish for and connects with a
remote database, my only reservation is that I may find that the JS
gets slow when I am building the tree with large data lists.  I don't
anticipate any slowdown with the actual partial key match with larger
lists as I am using a binary search to keep pace.
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to