Refer select2 demos in package archive.
Code: demos/integration/dropdown-select2.php
Live: http://phpgrid.org/demo/demos/integrations/dropdown-select2.php
Select any row and edit from toolbar to see select2 for dropdown.
Dear Abu,
At main grid "select2 dropdown" working fine for filter records but in add/edit pop up form the drop down is showing but keyword not typing means when we type in that autosuggestion input field nothing type . It would be appreciable if you can help in case of that?
I've updated code and demo to work in dialog.
Code: http://phpgrid.org/demo/demos/integrations/dropdown-select2.phps
Demo: http://phpgrid.org/demo/demos/integrations/dropdown-select2.php
Dear Abu,
The autosuggestio input type keyword not working properly(not typing in input field). At main grid its working smooth but in add/edit pop up its not working smoothly. Can u please tell me the reason behind that whether its due to css/jquery confliction or not?
It is usually due to modal window javascript conflict.
By autosuggestion if you mean select2, i've resolved it in above code.
When linking select2, you need to unfreeze keypress. See link_select2 function in my last reply.r
$(document).unbind('keypress').unbind('keydown');
Its still not working in pop up forms add/edit when we input something in input fields autosuggestion. Moreover when press key in that field the dropdown breaks to below that is out of popup.
I used above your references
Code: http://phpgrid.org/demo/demos/integrations/dropdown-select2.phps
Demo: http://phpgrid.org/demo/demos/integrations/dropdown-select2.php