Forum


10:26

13/08/2008

Hello everybody,
I am a beginner for using Jquery Grid. I've just followed by using this
document.
http://www.secondpersonplural....../index.htm
But, I don't have the result. My projet is “test”, I set the libary jquery
such as :
test/scripts/jquery.jqGrid.js
test/scripts/jquery.js
test/scripts/themes/…..=>the directories CSS
test/scripts/js/…..=>the files .js
My steps are respected the indications of this document :
- create the table invheader
- create the file index.php (I am using WAMP5)
- create the file example.php
When I load (http://test), I have a white page web.
Do you know why it doesn't work ? Please tell me what is the problem.
Thanks for your helps,
03:26

Moderators
30/10/2007

The first that I see is that you should load jquery library before jqGrid.
Second that you should do is to adjust the path to js files. If you have FireBug you shuld be nsured that the files are loaded correctly.
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.
04:35

13/08/2008

Thanks Tony, I've modified and it works now. But I've still a problem with "navigation layer". I add this line :
jQuery("#list2").navGrid('#pager2',{edit:false,add:false,del:false,refresh:true,searchtext:"Suchen"});
and I don't see any button in the navigation layer.
Beside, I try with this code for using the button in the navigation layer but it don't work:
jQuery("#navgrid").jqGrid({
url:'ex.php?q=1',
datatype: "xml",
colNames:['No','Nom group', 'Description'],
colModel:[
{name:'grp_id',index:'grp_id', width:55,editable:false,editoptions:{readonly:true,size:10}},
{name:'grp_name',index:'grp_name', width:5,editable:true,editoptions:{size:5}},
{name:'grp_comments',index:'grp_comments', width:90, align:"right",editable:true,editoptions:{size:50}}
],
rowNum:10,
rowList:[10,20,30,50],
imgpath: 'script/themes/basic/images',
pager: jQuery('#pagernav'),
sortname: 'grp_id',
viewrecords: true,
sortorder: "desc",
caption:"Navigator Example"
editurl:"ex2.php", height:210 }).navGrid('#pagernav', {}, //options
{height:280,reloadAfterSubmit:false}, // edit options
{height:280,reloadAfterSubmit:false}, // add options
{reloadAfterSubmit:false}, // del options
{} // search options
);
Can you tell me what I should do ?
04:41

Moderators
30/10/2007

Do you have included jqModal.css jqModal.js and jqDnR.js files?
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:47

Moderators
30/10/2007

Nothing special here. You should be sure that all files are loaded.
Use FireBug to detect this.
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.
Most Users Ever Online: 715
Currently Online:
89 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