Author Topic: Basic grid example with mysql  (Read 2947 times)

cladon

  • Newbie
  • *
  • Posts: 1
    • View Profile
Basic grid example with mysql
« on: April 30, 2014, 09:09:14 pm »
Is there somebody who wants to share an example working with data reading from a mysql or mongodb.


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6264
    • View Profile
Re: Basic grid example with mysql
« Reply #1 on: May 05, 2014, 01:48:23 pm »
getData and getUrl are the points of integration of the grid with any server side language/framework.

In PHP

1) use json_decode to process the request variables and
2) use json_encode to encode the data from database into JSON.