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
Another problem
09/09/2008
15:53
Avatar
YamilBracho
Member
Members
Forum Posts: 124
Member Since:
08/09/2008
sp_UserOfflineSmall Offline

Now my app is working but I only see a part of the gird and also it shows me the following error

jQuery(modwin).jqDrag is not a function

[Image Can Not Be Found]

10/09/2008
10:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

10/09/2008
11:13
Avatar
YamilBracho
Member
Members
Forum Posts: 124
Member Since:
08/09/2008
sp_UserOfflineSmall Offline

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

10/09/2008
13:25
Avatar
YamilBracho
Member
Members
Forum Posts: 124
Member Since:
08/09/2008
sp_UserOfflineSmall Offline

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 ?

10/09/2008
13:55
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

10/09/2008
14:57
Avatar
YamilBracho
Member
Members
Forum Posts: 124
Member Since:
08/09/2008
sp_UserOfflineSmall Offline

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

10/09/2008
15:04
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

03/10/2008
13:32
Avatar
davidelewis
Member
Members
Forum Posts: 20
Member Since:
16/07/2008
sp_UserOfflineSmall Offline

Thanks YamilBracho! I had the same problem (posted here) - but this solves the problem!

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information