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 doesn't appear
19/05/2009
21:27
Avatar
redsuitee
Member
Members
Forum Posts: 35
Member Since:
16/04/2009
sp_UserOfflineSmall Offline

i have code in javascript doc :

alert(’1′);

$(”#cslogup1_list”).html(”a”);
jQuery(”#cslogup1_list”).jqGrid({
url :’cslogup_e.php?md=m’,
datatype : “json”,
colNames :['Id','Table', 'Qty'],
colModel :[
{name:'id', index: 'id',width:30, editable:false},
{name:'table_name', width:105, editable:false},
{name:'qty1', width:35, align:"center",editable:false}
],
rowNum : 50,
rowList : [25,50,75],
imgpath : gridimgpath,
pager : jQuery(’#cslogup1_pager’),
sortname : ‘table_name’,
viewrecords : true,
sortorder : “asc”,
caption : “Table List”,
searchOn : true,
shrinkToFit : false,
height : 200,
width : 260
}).navGrid(’#cslogup1_pager’,
{refresh: true, add: false, edit: false, del: false, search: true},
{height:400, width: 250 } // search options
);

alert(’2′);

i’m not using jqtree to call the program..
command alert(’1′) works, but the grid and alert(’2′) is not working..
my question is why the jqgrid not appear?

can anybody tell me, why can it happens?
thx a lot..

i’m a newbie

"God Gave you a gift of 86,400 seconds today.
Have you used one to say thank you?"

19/05/2009
22:35
Avatar
xuding
xuding
Member
Members
Forum Posts: 36
Member Since:
15/11/2008
sp_UserOfflineSmall Offline

Is that all the codes you are putting on your page?

where is cslogup1_list div, where is image path and so on ?

20/05/2009
00:08
Avatar
redsuitee
Member
Members
Forum Posts: 35
Member Since:
16/04/2009
sp_UserOfflineSmall Offline

i put them in html doc..

i’ve found my mistaken..
i haven’t declare gridimgpath yet..
thanx for your attention

"God Gave you a gift of 86,400 seconds today.
Have you used one to say thank you?"

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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