By using "select2" the autofilter does not work, and I saw that in the demo does not work, is there any solution ?.
regars, Sergio Pulido.
Demo is updated now.
Latest lib build is required, which i am emailing you.
Demo: http://phpgrid.org/demo/demos/integrations/dropdown-select2.php
Code: http://phpgrid.org/demo/demos/integrations/dropdown-select2.phps
Select2 supports images in dropdown.
See https://select2.github.io/examples.html -> Templating
In grid code, you can include templateResult: formatState like below and copy function as in select2 website example.
$('select[name='+id+'].editable, select[id='+id+']').select2({width:'95%', dropdownCssClass: 'ui-widget ui-jqdialog', templateResult: formatState});
Hello, Abu,
Select2 is working perfectly, just what I needed.
Is there any chance to integrate an image/jpg in dropdown ?
DEMO: http://dhtmlx.com/docs/products/dhtmlxCombo/ (Combobox with icons)