typeahead / Autocomplete

  1. 2 months ago

    Jay M

    Aug 9 Pre-Release Testers Austin TX
    Edited 2 months ago

    I need to implement typeahead in a webtextfield.
    Doing so on the server side prove simply too slow
    Has anyone found a way to implement this?

    Few things are more annoying then slow typeheads....

    It really depends on your expected network latency and the complexity of your typeahead. For complex typeheads you might need to search a database server-side anyway. So server-side might make sense.

    You would probably get a nicer result by a wrapping a JS library like https://github.com/twitter/typeahead.js/ using the WebSDK control builder.

    If your not familiar with JavaScript(and don't feel like learning) then just stick to server-side.

    for more information on the WebSDK see ...xojo2018r1/Extras/WebSDK/WebControlSDK.pdf

  2. Daniel W

    Aug 9 Answer Australia

    Few things are more annoying then slow typeheads....

    It really depends on your expected network latency and the complexity of your typeahead. For complex typeheads you might need to search a database server-side anyway. So server-side might make sense.

    You would probably get a nicer result by a wrapping a JS library like https://github.com/twitter/typeahead.js/ using the WebSDK control builder.

    If your not familiar with JavaScript(and don't feel like learning) then just stick to server-side.

    for more information on the WebSDK see ...xojo2018r1/Extras/WebSDK/WebControlSDK.pdf

or Sign Up to reply!