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_Related Related Topics sp_TopicIcon
Toolbar Search Not Showing Up
09/07/2010
16:55
Avatar
kylemhall
New Member
Members
Forum Posts: 2
Member Since:
09/07/2010
sp_UserOfflineSmall Offline

Hello All,

  I'm attempting to add the Toolbar Search to my jqGrid, but it simply is not showing up. When I reload the page, I get this error in the Firefox error console:

Error: $t.p is undefined
Source File: /static/js/jqgrid-dev/grid.custom.js
Line: 682

This error is when using standard jqGrid source ( 3.7 ). The minified version also has what I assume is the same error.

Thanks in advance,

Kyle

P.S. Apologies for the thousand edits. I've never used this forum before and am having a hard time formatting my HTML to be readable.

Here is my HTML:

<div id="panel-users">

<table id="user-list"></table>

<div id="user-pager"></div>

</div>


...

<script type="text/javascript">

jQuery(document).ready(function(){

jQuery("#user-list").jqGrid({

url:'http://192.168.20.155:3000/admin/rest/users',

datatype: 'json',

mtype: 'GET',

colNames:['Id','Username', 'Minutes','Status','Message','Notes','Troublemaker','Client ID','Client Name','Status'],

colModel :[

{name:'id', width:1, hidden:true, key:true},

{name:'username', index:'username', search:true},

{name:'minutes', index:'minutes'},

{name:'status', index:'status', width:70},

{name:'message', index:'message', width:100},

{name:'note', index:'note', width:100},

{name:"troublemaker", index:'troublemaker'},

{name:"clientid", width:1, hidden:true},

{name:"clientname", index:'clientname'},

{name:"status", index:'status'}

],

gridview: true,

pager: '#user-pager',

height: '100%',

autowidth: true,

toppager: false,

rowNum:25,

rowList:[10,15,20,25,30,50,100],

sortname: 'username',

sortorder: 'desc',

viewrecords: true,

jsonReader : {

root: "rows",

page: "page",

total: "total",

records: "records",

repeatitems: true,

cell: "cell",

id: "id",

userdata: "userdata"

}

});

});

jQuery("#user-list").jqGrid('navGrid','#user-pager',{add:false,edit:false,del:false});

jQuery("#user-list").jqGrid('filterToolbar');

</script>

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
61 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