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
How to begin for using JQuery Grid
13/08/2008
10:26
Avatar
valion
Member
Members
Forum Posts: 5
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

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,

14/08/2008
03:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

14/08/2008
04:35
Avatar
valion
Member
Members
Forum Posts: 5
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

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 ?

14/08/2008
04:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

14/08/2008
04:55
Avatar
valion
Member
Members
Forum Posts: 5
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

yes, 2 files jqModal.js and jqDnR.js are included in the directory js. But the file jqModal.css I don't have.

Where is this file ? Where can I get it ?

Thanks for your reponse.

14/08/2008
04:55
Avatar
valion
Member
Members
Forum Posts: 5
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

yes, 2 files jqModal.js and jqDnR.js are included in the directory js. But the file jqModal.css I don't have.

Where is this file ? Where can I get it ?

Thanks for your reponse.

14/08/2008
05:20
Avatar
valion
Member
Members
Forum Posts: 5
Member Since:
13/08/2008
sp_UserOfflineSmall Offline

Hi Tony,

I've included 3 files but it don't work. What can I do this case ?

Thanks for your help,

VA

17/08/2008
03:47
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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