Forum


10:19

Moderators
30/10/2007

Hello,
This is common problem. Please read the docs how to use this-
load all the needed CSS and plugins
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.
11:13

08/09/2008

Thanks Tony for your support.
Yes,I was my mistake but in my navigation bar does not appears the "Find" and "Reload Grid" icons,
however the other icons (next, previous, etc) correctly appears. My grid definition is
$("#list").jqGrid({
url:'http://localhost:9713/Domicili.....r',
datatype: 'json',
mtype: 'GET',
colNames:['Codigo','Nombre'],
colModel :[
{name:'co_sector', index:'co_sector', width:55, editable:true},
{name:'nb_sector', index:'nb_sector', width:90, editable:true}
],
rowNum:10,
rowList:[10,20,30],
sortname: 'co_sector',
sortorder: "desc",
viewrecords: true,
imgpath: '../js/themes/basic/images',
jsonReader: {
repeatitems : true,
id: "0"
},
caption: 'Sectores',
height: '47%', width : 800,
pager: jQuery('#pager')
})
}).navGrid('#pager',{add:false,edit:false,del:false});
Regards
13:25

08/09/2008

Tony, I rearranged my code as follows:
$("#list").jqGrid({
caption: 'Sectores',
colNames:['Codigo','Nombre'],
colModel :[
{name:'co_sector', index:'co_sector', width:20},
{name:'nb_sector', index:'nb_sector', width:90, editable:true,editoptions:{size:60}, editrules:{requerided:true}}
],
datatype: 'json',
editurl:"someurl.php",
hidegrid: false,
height: '47%',
imgpath: '../js/themes/basic/images',
jsonReader: {
repeatitems : true,
id: "0"
},
loadtext :"Cargando...",
loadui : 'block',
mtype: 'GET',
pager: 'pager',
recordtext : "Registros en total.",
rowList:[5,10,20],
rowNum:10,
sortname: 'co_sector',
sortorder: "desc",
toolbar : [true, "bottom"],
url:'http://localhost:9713/DomiciliacionPagos/Sector',
viewrecords: true,
width : 800
}).navGrid("#pager", {});
But i still got the same error:
Error: jQuery(modwin).jqDrag is not a function
Source File: http://localhost:9713/DomiciliacionPagos/js/js/min/grid.formedit-min.js
Line: 62
Any suggestion ?
13:55

Moderators
30/10/2007

Hello,
Sorry for this, but this is my last post for this problem.
Load jqModal.css, jqModal.js, jqDnR.js.
Use Firebug to determine if you have loaded these files.
Simple after loading a page open FireBug and click Net tab.
If some files have been not loaded they are colored in RED.
Check the appropriate paths and load them 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.
14:57

08/09/2008

Sorry for be so borring but I found the problem...
As a newcomer i print the manual and read it using the "Creating your First Grid" as guide.I copied the script lines to my jsp.
<script src="js/jquery.jqModal.js" type="text/javascript"></script>
<script src="js/jquery.jqDnR.js" type="text/javascript"></script>
Tony, Do you see the problem ? it is "jquery.jqModal.js" and must be "jqModal.js"
Please update the docs and thanks for your support
15:04

Moderators
30/10/2007

Hello,
Thank you for this. It will be updated as soon as possible.
Thanks and sorry - Maybe I should read every pice of
code again in the docs.
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.
13:32

16/07/2008

Thanks YamilBracho! I had the same problem (posted here) - but this solves the problem!
Most Users Ever Online: 715
Currently Online:
96 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