volosoft / jtable

A JQuery plugin to create AJAX based CRUD tables.
http://www.jtable.org
1.1k stars 505 forks source link

Searchable <select> #1358

Open adtkedia opened 10 years ago

adtkedia commented 10 years ago

I am trying to integrate "jquery.searchabledropdown" to make my dropdwn searchable. For this I have done the following:

  1. Downloaded the js from http://sourceforge.net/projects/jsearchdropdown/ and included in the project.
  2. Included the following code when creating the JTable to be called after the Dialog/Form has been created: formCreated: function (event, data) { $("select").searchable(); alert("I am an alert box! 20140622"); },

However, it is not working. I also tried to make a small example seperate from the jTable implementation and it works perfectly. Could you look into this and tell me where I might be going wrong? It would be great help as I have spent nearly 12 to 15 hours on this.

BTW Halil, thanks for this lovely grid. The best I have seen! Thanks man. Adi

misterparsons commented 10 years ago

Hi, What does not work? Are you saying the formCreated function is not called, or the searchable() function does not apply?

adtkedia commented 10 years ago

FormCreated Function is getting called successfully and subsequently searchable() function is called through it as well. However, searchable() function is not being able to apply the changes to the DropDowns.

If I run it independently in a separate project it applies the changes properly.