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
tutorial fix
14/04/2009
20:05
Avatar
bkudrle
Pearland, TX, USA
New Member
Members
Forum Posts: 1
Member Since:
15/04/2009
sp_UserOfflineSmall Offline

I just started working with jqGrid. First of all, I want to say that it is rare to find such extensive documentation for an open source component. Thanks so much to whoever has done all this. In working through the tutorial on the this page:

http://www.secondpersonplural....../index.htm

however, I had to make a couple of changes to get it to work for me to retrieve data from the database. I found these problems using Firebug in the Firefox browser on an Ubuntu Linux LAMP VM using the latest downloads. 

I had to change 2 things.

1) In index.php, I had to change

sortname: 'id',

to

sortname: 'invid',

2) In example.php, I had to put the db variables inline rather than from an external file:

//include("dbconfig.php");

    $dbhost = "localhost";
    $dbuser = "root";
    $dbpassword = "xxxxxxxxxxxx";
    $database = "test2";

Perhaps I was doing something wrong in the dbconfig.php file so this might be my mistake, but I just wanted to pass these hints along for anyone else who might run into similar issues.

16/04/2009
02:53
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

For the first - Thanks we will try to revise all docs when 3.5 will be published.

For the second you should open dbconfig and put the se variables. Another issue is that this file is not included properly. Maybe in this case you will need to check your php settings.

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:
103 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