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
ts.rows is undefined
12/01/2009
22:59
Avatar
faizaliqbaal
Member
Members
Forum Posts: 10
Member Since:
21/12/2008
sp_UserOfflineSmall Offline

hi all,

Back again

for some reason my grid is not loading data..here is what i my handler returns

{
"page": "1",
"total": "1",
"records": "22",
"rows": [
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User1",
"-",
"2401000270",
"0270",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User2",
"-",
"2401000271",
"0271",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User3",
"-",
"-",
"1272",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"Marcelo",
"Valotta",
"-",
"-",
"5551",
"-",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"Marcelo Enrique",
"Valotta",
"-",
"-",
"5552",
"-",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User1",
"-",
"2401000270",
"0270",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User2",
"-",
"2401000271",
"0271",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User3",
"-",
"-",
"1272",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"Marcelo",
"Valotta",
"-",
"-",
"5551",
"-",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"Marcelo Enrique",
"Valotta",
"-",
"-",
"5552",
"-",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User1",
"-",
"2401000270",
"0270",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User2",
"-",
"2401000271",
"0271",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"AlanSujovolsky",
"User3",
"-",
"-",
"1272",
"AlanSujovolskyGenericSIP",
"Details",
"-"
]
},
{
"id": "1231822674171",
"cell": [
"-",
"-",
"Marcelo",
"Valotta",
"-",
"-",
"5551",
"-",
"Details",
"-"
]
},
{
"id": "mainautoatt@xdp.broadsoft.com",
"cell": [
"-",
"MainAttendant",
"-",
"-",
"Support \\\\ Tier 1",
"2401000273",
"0273",
"N/A",
"Detail Members",
"mainautoatt@xdp.broadsoft.com"
]
},
{
"id": "centerl1@xdp.broadsoft.com",
"cell": [
"-",
"Call Center Asujo 1",
"-",
"-",
"",
"2401000272",
"0272",
"N/A",
"Detail Members",
"centerl1@xdp.broadsoft.com"
]
},
{
"id": "HGAsujo1@xdp.broadsoft.com",
"cell": [
"-",
"Hunt Group Asujo 1",
"-",
"-",
"",
"2401000274",
"0274",
"N/A",
"Detail Members",
"HGAsujo1@xdp.broadsoft.com"
]
},
{
"id": "mainautoatt@xdp.broadsoft.com",
"cell": [
"-",
"MainAttendant",
"-",
"-",
"Support \\\\ Tier 1",
"2401000273",
"0273",
"N/A",
"Detail Members",
"mainautoatt@xdp.broadsoft.com"
]
},
{
"id": "centerl1@xdp.broadsoft.com",
"cell": [
"-",
"Call Center Asujo 1",
"-",
"-",
"",
"2401000272",
"0272",
"N/A",
"Detail Members",
"centerl1@xdp.broadsoft.com"
]
},
{
"id": "HGAsujo1@xdp.broadsoft.com",
"cell": [
"-",
"Hunt Group Asujo 1",
"-",
"-",
"",
"2401000274",
"0274",
"N/A",
"Detail Members",
"HGAsujo1@xdp.broadsoft.com"
]
},
{
"id": "mainautoatt@xdp.broadsoft.com",
"cell": [
"-",
"MainAttendant",
"-",
"-",
"Support \\\\ Tier 1",
"2401000273",
"0273",
"N/A",
"Detail Members",
"mainautoatt@xdp.broadsoft.com"
]
},
{
"id": "centerl1@xdp.broadsoft.com",
"cell": [
"-",
"Call Center Asujo 1",
"-",
"-",
"",
"2401000272",
"0272",
"N/A",
"Detail Members",
"centerl1@xdp.broadsoft.com"
]
}
]



here is my grid code

jqGrid({
datatype: "json",
url:"pbxEntityMap.do?opName=all",
colNames:["Type","User Name","First Name","Last Name","Department","Phone Number","Ext","Device Id","Command","id"],
colModel:[

{name:'Type',index:1, width:80, align:"center",editable:false},
{name:'User Name',index:2, width:80, align:"center",editable:false},
{name:'First Name',index:3, width:175,align:"center",editable:false},
{name:'Last Name',index:4, width:180,align:"center",editable:false},
{name:'Department',index:5, width:90, align:"center",editable:false} ,
{name:'Phone Number',index:6, width:90, align:"center",editable:false},
{name:'Ext.',index:7, width:80, align:"center",editable:false},
{name:'Device Id',index:8, width:80, align:"center",editable:false},
{name:'Command',index:9, width:100, align:"center",editable:false},
{name:'id',index:10,hidden:true}
],
sortname: "id",
sortorder: "desc",
imgpath: "../css/images",
caption: "PBX Entities" });


what could be wrong herein..

Thanks all,
}
12/01/2009
23:12
Avatar
faizaliqbaal
Member
Members
Forum Posts: 10
Member Since:
21/12/2008
sp_UserOfflineSmall Offline

found out the issue...my mistake...wrong id. sorry for the post

07/07/2009
04:06
Avatar
robert.w
New Member
Members
Forum Posts: 1
Member Since:
07/07/2009
sp_UserOfflineSmall Offline

hi,

I'm getting the same error message - what id did you mean?

20/07/2009
10:36
Avatar
hughitt1
Member
Members
Forum Posts: 17
Member Since:
30/01/2009
sp_UserOfflineSmall Offline

I ran into the same problem recently. The problem turned out to be that I was attempting to use a DIV instead of a TABLE for the datagrid container. Using a table instead resolved the issue, e.g.

        <!-- Grid -->
<table id="search-results-datagrid" class="scroll" cellpadding="0" cellspacing="0"></table>

<!-- Pager -->
<div id="search-results-pager" class="scroll" style="text-align:center;"></div>

Best,
Keith
22/01/2010
10:50
Avatar
Chhavi
Guest
Guests

Is there any way to display the grid in div instead of table...

24/01/2010
18:33
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

No. Everthing is build on tables.

Best Regards

Tony

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.

03/05/2010
09:54
Avatar
dke01
Member
Members
Forum Posts: 7
Member Since:
12/03/2010
sp_UserOfflineSmall Offline

Chhavi said:

Is there any way to display the grid in div instead of table...


Thanks for this, this just saved me heaps of time debugging

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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