Quick example of multi-column results with jQueryUI's new Autocomplete?

后端 未结 6 978
臣服心动
臣服心动 2020-12-29 13:30

I just found out that the jQueryUI now has it\'s own built-in auto-complete combo box. Great news!

Unfortunately, the next thing I found is that making it multi-colu

6条回答
  •  感情败类
    2020-12-29 13:49

    I know this is an old thread but this widget supports multi column autocomplete

    Here is a demo page using multi column autocomplete

    The code below shows how to create a multi column autocomplete input:

    $('input#starttime').menuoptions({
                                        "Data": $("body").data("alltimes"),
    
                                        "ClearBtn": true,
                                        "onSelect": function(e, data) { 
                                            ResetEndTimeData(data.newVal); 
                                        }, 
                                        "ColumnCount": 4,
                                        "Width": 300,
                                        "Height": 200,
                                        "Sort": []
                                        });
    

提交回复
热议问题