Forum


19:48

25/02/2009

I try to use jqGrid 3.6.1. After create the files and config it, it’s show the result, truly. So I tried to adding the additional possible facilities, everything is good but I can’t active navigator! It doesn't show any error in IE and also in firebug, but it doesn’t show navigator.
this is my code:
jQuery(document).ready(function(){
jQuery(”#list”).jqGrid({
direction: “rtl”,
recordpos : “left”,
url:’example.php’,
datatype: ‘xml’,
mtype: ‘GET’,
colNames:['ROW','DATE', 'AMOUNT','TAX','TOTAL','COMM'],
colModel :[
{name:'invid', index:'invid', width:55, editable:true},
{name:'invdate', index:'invdate', width:90, editable:true},
{name:'amount', index:'amount', width:80, align:'right', editable:true},
{name:'tax', index:'tax', width:80, align:'right', editable:true},
{name:'total', index:'total', width:80, align:'right', editable:true},
{name:'note', index:'note', width:150, sortable:false, editable:true}
],
pager: ‘#pager’,
rowNum:10,
rowList:[10,20,30],
sortname: ‘invid’,
sortorder: ‘asc’,
viewrecords: true,
multiselect: true,
height: “100%”,
width: 800,
editurl:”someurl.php”,
caption: ‘myTest’
});
});
jQuery(”#list”).jqGrid(’navGrid’,'#pager’,{edit:false,add:true,del:false});
jQuery(”#list”).filterToolbar(); // This one doesn’t work, too!
Also I used another way to call navGrid:
}).navGrid(”#pager”,{edit:false,add:true,del:false});
Please help me to solve it. I’m confused!
Regards,
20:11

Moderators
30/10/2007

Hello,
Be a sure that when you download the grid you marked all the needed modules, that are connected to navigator
http://www.trirand.com/jqgridw.....definition
http://www.trirand.com/jqgridw.....i:download
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.
21:21

25/02/2009

thank you for your answer, Tony
Yes, when I download it, I checked all modules in the list of download builer page.
just a point…
when I config the grid files with the documents ( http://www.trirand.com/jqgridw.....first_grid ), I don't use any files in the src/ folder! Is it important? I think when I download full modules, it's combined all files in the src folder. Isn't it?
!?
Also I've to say that I use jqGrid with php.
Regards,
Hamed
01:06

Moderators
30/10/2007

Helo,
As of the docs, thare are two possibilities - production and development - they are described very well in the docs.
Be a sure that you meet the order of loading the needed JS files.
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.
Most Users Ever Online: 715
Currently Online:
56 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66