Yii Framework Forum: [Extensions] jqgrid working example - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Extensions] jqgrid working example Rate Topic: *---- 1 Votes

#1 User is offline   marcusj 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 19-July 09

Posted 04 August 2009 - 08:57 PM

Good morning,
spend the last day and tryed to get different issues working with the jqgrid-extension from Meta-Yii on Yii 1.0.7.
For some reason I still do not understand, I do not get some features to work.

Here is what I have done so far:
  • installed extension as insturcted to folder extension
  • placed php-file in root to retrieve data from mysql
  • the grid is called from a page where you have to be logged in based on the code provided in the extensions documentation
  • checked yii-forum, jqgrid-site, google etc.
  • played around with jqgrid options
  • compared with pogostick extension

Working results:
  • grid is displayed with loaded data
  • sorting and pager are working
  • after replacing single jqgrid-js-files with actual jquery-1.3.2.min.js search-field is working (except for reset -> filter will remain until page-reload with F5)
  • added some java-script code to implement a link for a messagebox displaying the id of the row selected (working)

Unfortunately all the other features like add, delete, edit (navbar) are not working. I. e. if I press the "add"-button in the navbar an emty window is opening. It looks for me as there is no id posted to the add-window.

In addition (because I yet did not find any time) I am wondering about the best way to store the made changes back to the mysql-database. The data comes from 3 diffent database tables (AR generated by the yii-application) and should be display with subgrids/master-detail.

It would be great if you could give me some advice. I then could build a sample application with the possible functions which could be provided with the documentation or on this forum.

Looking forward to your responses

Marcus
-1

#2 User is offline   marcusj 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 19-July 09

Posted 06 August 2009 - 11:23 AM

Okay, think it was a typo, argh!
Will check.
Let me know, if there is need for an example mini-project to be published.
Marcus
-1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users