Dear Support,
Do you have any documentation on how to use the ejGrid functionalities?
1) How to bind the data from a database using PHP?
2) How to know which rows in the ejGrid have been changed, so that I could update only those changed rows back to the database using PHP when the [Save] button is clicked?
Thank you very much.
Regards,
Zuraiman
var data = ej.DataManager({ url:"http://localhost/phpservice/server.php/?action=get_Data", insertUrl:"http://localhost/phpservice/server.php/?action=insert_Data", removeUrl:"http://localhost/phpservice/server.php/?action=delrec", updateUrl:"http://localhost/phpservice/server.php/?action=update_Data", adaptor: new ej.UrlAdaptor() }); $("#Grid").ejGrid({ dataSource: data, . . . . . |
var data = ej.DataManager({ url: "http://localhost/phpservice/server.php/?action=get_Data", insertUrl: "http://localhost/phpservice/server.php/?action=insert_Data", removeUrl: "http://localhost/phpservice/server.php/?action=delrec", updateUrl: "http://localhost/phpservice/server.php/?action=update_Data", adaptor: new ej.UrlAdaptor() });
$("#Grid").ejGrid({ . . . . . . editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true }, toolbarSettings: { showToolbar: true, toolbarItems: [ej.Grid.ToolBarItems.Add, ej.Grid.ToolBarItems.Edit, ej.Grid.ToolBarItems.Delete, ej.Grid.ToolBarItems.Update, ej.Grid.ToolBarItems.Cancel] },
|
Hi,
I just try the sample and I have a problem showing the data into the grid.
If I go direct on the link : http://192.168.1.3/phpservice/server.php?action=get_Data , I can see all the data from the database. But on the http://192.168.1.3/phpservice/index.php ... is only the waitingpopup.gif and empty grid. Will never load and the script doesn't have any errors in the browser.
Thanks,
Andy
A fine thread for opening the details of PHP Database!
After studying from the following resource php redis extension. I was in a need to cover for a database and PHP as Redis is also one ideal message broker and a
memory caching system