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
Grid is blank
05/07/2010
23:21
Avatar
churd
Member
Members
Forum Posts: 11
Member Since:
23/06/2010
sp_UserOfflineSmall Offline

Hi; I am trying to replicate one of the examples, and keep ending up with no data…

Any help is much appreciated! I think I might be missing some sort of JSON call or function.

HTML code:  - http://www.contractorsan.com/h.....jqgrid.txt

Master code: http://www.contractorsan.com/m.....0jgrid.txt

Detail code: http://www.contractorsan.com/d.....0jgrid.txt

I know a) I have the tables and info correct in my database and b) that my dbconfig.php file is correct to access the database.

THANK YOU!!

Also, you can view my current attempt at http://www.contractorsan.com/test.html

06/07/2010
16:17
Avatar
churd
Member
Members
Forum Posts: 11
Member Since:
23/06/2010
sp_UserOfflineSmall Offline

Bump! 🙂 

06/07/2010
16:22
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Please before posting be a sure that you have read carfully the install documentation.

You have a error


<script src="includes/classes/jqgrid/js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="includes/classes/jqgrid/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="includes/classes/jqgrid/js/jquery.jqGrid.min.js" type="text/javascript"></script>

Should be

<script src="includes/classes/jqgrid/js/jquery-1.4.2.min.js" type="text/javascript"></script>

<script src="includes/classes/jqgrid/js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="includes/classes/jqgrid/js/jquery.jqGrid.min.js" type="text/javascript"></script>

i.e jquery should be included first
Additionally to that you have a couple of errors server side. Please check your code

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.

06/07/2010
17:44
Avatar
churd
Member
Members
Forum Posts: 11
Member Since:
23/06/2010
sp_UserOfflineSmall Offline

Thank you! Any chance you could link me to the install document? I've found the Wiki and the Demo page, as well as several docs for what appear to be older versions... I want to make sure I'm reading the correct material.

06/07/2010
18:24
Avatar
churd
Member
Members
Forum Posts: 11
Member Since:
23/06/2010
sp_UserOfflineSmall Offline

I truly appreciate the response... however, I've gone back over the examples, and cannot figure out what I am doing wrong. The code I am using is literally a cut-and-paste of what is on the demo page coupled with the example. I switched the call around that you mentioned above... what exactly am I doing wrong on the server side?

I'll be happy to supply any coding I haven't included.

Thank you again! 

07/07/2010
01:54
Avatar
theory
New Member
Members
Forum Posts: 1
Member Since:
07/07/2010
sp_UserOfflineSmall Offline

Hi

I had a similar problem with my code.

I fixed it by making sure the <table> and <div> for the grid, were declared BEFORE the javascript call in to jqGrid.

So the ordering of all <script> tags and the <table> and <div> tags is important Smile

07/07/2010
18:43
Avatar
churd
Member
Members
Forum Posts: 11
Member Since:
23/06/2010
sp_UserOfflineSmall Offline

Thank you everyone for your input!

Ends up that for some reason the dbconfig.php file I was calling wasn't pulling properly... don't know what the issue was, but I ended up just moving all of my SQL connection credentials into the .php call files themselves.

Forum Timezone: Europe/Sofia

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

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information