Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8370511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:55:47+00:00 2026-06-09T13:55:47+00:00

I am setting up SlickGrid and need to have a column with an autoComplete

  • 0

I am setting up SlickGrid and need to have a column with an autoComplete editor.
I tried it my modifying TextEditor or DateEditor. Nothing works.

Can anybody give me a rough sketch of an implementation by using the TextEditor as a basis?

Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:55:48+00:00Added an answer on June 9, 2026 at 1:55 pm

    I did this in slick.editors.js – might have some bugs, but should work and help you get started:

    $.extend(true, window, {
        "Slick": {
          "Editors": {
            "Auto": AutoCompleteEditor,
            "Text": TextEditor,
            "Integer": IntegerEditor,
            "Date": DateEditor,
            "YesNoSelect": YesNoSelectEditor,
            "Checkbox": CheckboxEditor,
            "PercentComplete": PercentCompleteEditor,
            "LongText": LongTextEditor
          }
        }
      });
    
      var availableTags = [
                            "ActionScript",
                            "AppleScript",
                            "Asp",
                            "BASIC",
                            "C",
                            "C++",
                            "Clojure",
                            "COBOL",
                            "ColdFusion",
                            "Erlang",
                            "Fortran",
                            "Groovy",
                            "Haskell",
                            "Java",
                            "JavaScript",
                            "Lisp",
                            "Perl",
                            "PHP",
                            "Python",
                            "Ruby",
                            "Scala",
                            "Scheme"
                          ];
    
       function AutoCompleteEditor(args) {
         var $input;
         var defaultValue;
         var scope = this;
         var calendarOpen = false;
    
         this.init = function () {
           $input = $("<INPUT id='tags' class='editor-text' />");
           $input.appendTo(args.container);
           $input.focus().select();
           $input.autocomplete({
                source: availableTags
            });
         };
    
         this.destroy = function () {
           $input.autocomplete("destroy");
         };
    
         this.focus = function () {
           $input.focus();
         };
    
         this.loadValue = function (item) {
           defaultValue = item[args.column.field];
           $input.val(defaultValue);
           $input[0].defaultValue = defaultValue;
           $input.select();
         };
    
         this.serializeValue = function () {
           return $input.val();
         };
    
         this.applyValue = function (item, state) {
           item[args.column.field] = state;
         };
    
         this.isValueChanged = function () {
           return (!($input.val() == "" && defaultValue == null)) && ($input.val() != defaultValue);
         };
    
         this.validate = function () {
           return {
             valid: true,
             msg: null
           };
         };
    
         this.init();
       }
    

    Let me know if this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking at the Slickgrid examples and using Google Chrome, I'm setting a breakpoint on
Setting up a project structure; I am thinking is it better to have somewhat
Setting terminal title is easy with echo -e \e]0;some title\007 . Works with pretty
Setting up CI within Microsoft Team Foundation Server, I have a build that will
Setting up a WCF service that uses the webHttpBinding... I can return complex types
Setting: Java 5 - no upgrade possible. I have a large application that has
Setting global variables in my js file doesn't seem to work. How can I
Setting up the multi language site I now need to decide which option I
setting is the following: I have a homepage where I display a diagram that
Setting any of document.getElementById('PopupAutoCompleteRichResult').setAttribute('hidden', true) document.getElementById('PopupAutoCompleteRichResult').hidden = true document.getElementById('PopupAutoCompleteRichResult').setAttribute('style', 'display: none;');` hides the AutoComplete

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.