-
Notifications
You must be signed in to change notification settings - Fork 503
Jquery UI Autocomplete function in input #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can use any of jquery auto complete plugin or jQueryUI's autocomplete. Just use input (http://jtable.org/ApiReference#fopt-input) option of jTable to create your custom field. It's easy. |
Thanks, but it did not work. When I created the field outside the create form, the autocomplete function works. Following is the piece of code: tipo_envio: { thank you |
I used formCreated (http://jtable.org/ApiReference#event-formCreated) event to bind autocomplete as shown below: $('#StudentTableContainer').jtable({ //... actions: { //... }, fields: { StudentId: { key: true, create: false, edit: false, list: false }, ProgrammingLanguage: { title: 'Programming Language' } //... }, formCreated: function (event, data) { var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "ColdFusion", "Erlang", "Fortran", "Groovy", "Haskell", "Java", "JavaScript", "Lisp", "Perl", "PHP", "Python", "Ruby", "Scala", "Scheme" ]; data.form.find('[name=ProgrammingLanguage]').autocomplete({ source: availableTags }); } }); And it worked: You can use autocomplete as documented here: http://jqueryui.com/autocomplete/ |
Works , best table plugin @hikalkan |
Thanks for using it ;) |
Realized the translation of messages for Portuguese (Brazil), how can I be sending? thank you @hikalkan |
Please copy it here. I wll include it in jTable with your name. |
/* (function ($) {
})(jQuery); |
Thanks again. What is the language code for that. I mean the file name. For example, it's jquery.jtable.tr.js for Turkish language. What must be in Portuguese - Brazilian? Is jquery.jtable.pt-BR.js OK? |
Perfectly. Thanks @hikalkan |
Hello, novice here. /*piece_composer: { title: 'Composer', width: '' },*/ piece_composer: { title: 'Composer', width: '' }, } formCreated: function (event, data) { var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "ColdFusion", "Erlang", "Fortran", "Groovy", "Haskell", "Java", "JavaScript", "Lisp", "Perl", "PHP", "Python", "Ruby", "Scala", "Scheme" ]; data.form.find('[name=piece_composer]').autocomplete({ source: availableTags }); } }); |
how can i fill i do this - with jquery ui work fine -
http://jqueryui.com/autocomplete/#remote maybe some one this help in build search in input |
Could give an example of autocomplete dropdown list in asp.net mvc |
Hello everyone, Anyone know how to insert a function of jquery ui autocomplete in the form field.
Thanks
The text was updated successfully, but these errors were encountered: