I am seeking sample code for adding autocomplete feature to Jqgrid when editing through inline and adding a row using form. Where I tried, got only code to add datepicker.
If it will help you you can take a look in the answer which explain how to implement simple and more complex case of usage of jQuery UI Autocomplete inside of jqGrid. In the example will be used dataInit
as searchoptions
property. Absolutely the same property with the same code can be used inside of editoptions. The corresponding server code is in C#, but I hope you can understand it and implement the same in Java.
In the demo from the "UPDATED" part of the answer you will find an example how jQuery UI Autocomplete will be used in the grid with pure local data.