Is there a way to get autocomplete in a ui element in Google Apps Script?

前端 未结 3 1356
感情败类
感情败类 2021-02-06 19:14

I\'d like to have a Listbox or similar, where the user could start typing, and the Listbox would narrow down the choices depending on what has already been typed, and autocomple

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 19:44

    [Edit] HtmlService is faster and more advanced. UiApp works, but is slow because of the network.

    The HtmlService solution here Populate jQuery autocomplete list using value array from Google Spreadsheet is much better.

    A UiApp version: https://sites.google.com/site/scriptsexamples/learn-by-example/uiapp-examples-code-snippets/suggest-box

    Or this way that I built:

    To see it in action, type an airport name into: http://www.treesforlife.org.au/carbon-calculator

    But this was is done with spreadsheet formulas, not google-apps-script. see http://www.cellmaster.com.au

提交回复
热议问题