Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqgrid autocomplete visible behind edit form
09/04/2014
10:54
Avatar
kartik jajal
Member
Members
Forum Posts: 3
Member Since:
09/04/2014
sp_UserOfflineSmall Offline

Hello ,

I am trying to implement jqgrid with autocomplete in one of its column. But I have very strange problem, auto-complete list is shown below the jqgird edit form.

I have included following jquery js file.

1. jquery-ui-1.10.4.custom.min.js 2. jquery.ui.core.js 3. jquery.ui.widget.js 4. jquery.ui.position.js 5. jquery.ui.menu.js 6. jquery.ui.autocomplete.js

following jqgrid js file.

1. grid.locale-en.js 2. jquery.jqGrid.min.js 3. grid.common.js 4. jqModal.js 5. jqDnR.js 6. grid.formedit.js

Following jqgrid css file.

  1. ui.jqgrid.css

Following jquery css file.

1. jquery-ui-1.10.4.custom.css 2. demos.css 3. jquery.ui.all.css

Following code to implement jqgrid colModel.

colNames:['Id', 'First Name', 'Last Name'], colModel:[ {name:'id',index:'id', width:55,editable:false,editoptions:readonly:true,size:10},hidden:true}, {name:'firstname',index:'lastname', width:100,editable:true,edittype:'text', editoptions: { dataInit: function (elem) { myAutocomplete(elem, "${pageContext.servletContext.contextPath}/grid/autocomplete.action"); } }}, {name:'lastname',index:'firstname', width:100,editable:true, editrules:{required:true}, editoptions:{size:10}} ],


Here autocomplete works fine, it lists all the username but it shows behind the editForm on jqgrid. Please suggest a solution.

Thanks & Regards,

Kartik Jajal

10/04/2014
12:30
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

You will need to increase the zIndex of autocomplete to some higger value like 1500 or 2000

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
32 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information