AutoComplete with lable and value

AutoComplete with lable and value

irisiris Posts: 2Questions: 0Answers: 0
edited December 2013 in Editor
hi, i am trying to use the "$.fn.dataTable.Editor.fieldTypes.autoComplete " but this only works if i have a list of items , i want to have an autocomplete that will display the description and store the value. (lable and value pairs)
has any one accomplish that ?
can it be done ?

Replies

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin
    How are you using the jQuery UI aspect? Looking at the jQuery UI documentation you might need to specify a custom renderer: http://jqueryui.com/autocomplete/#custom-data .

    Allan
  • xiaoyuandlgxiaoyuandlg Posts: 4Questions: 0Answers: 0
    I am familiar with the using of AutoComplete Box in Editor component.

    http://www.kettic.com/winforms_ui/csharp_guide/editor_AutoCompleteBox_get_started.shtml

    However, I got confused with the thing in jQuery and JS. I thought they have something in common.
This discussion has been closed.