jxjbk / jquery-easyui

Automatically exported from code.google.com/p/jquery-easyui
GNU General Public License v3.0
0 stars 0 forks source link

easyui combobox #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
when I'm using easyui-combobox the filter function only filter in case 
sensitive way, i want to use it with not case sensitive.
and when I implementing a onkeydown action of standard combobox, the action is 
not able to perform when the default combobox using easyui class.

Original issue reported on code.google.com by yellowha...@gmail.com on 20 Sep 2011 at 6:57

GoogleCodeExporter commented 9 years ago
$('#slcCoordenador').combobox({
        filter: function (q, row) {
            var opts = $(this).combobox('options');
            return row[opts.textField].toUpperCase().indexOf(q.toUpperCase()) == 0;
        }
    });

Original comment by wmmarcon...@gmail.com on 18 Jul 2013 at 2:33