Reputation: 5701
I want to use a datagrid in one of my modules (Symfony 1.3, Propel ORM). I have spent a while searching the web, but everything I found expects a direct connection to teh db (mySQL) or is otherwise unsuitable.
I found the datagrid plugin (http://symfony.swisscenter.com/datagrid/exemples), but the documentation/examples are in French - and I'm not too keen on learning French just for the sake of using the plugin - besides, if all the users are French speakers, then it will be difficult to get support/help if/when I do hget stuck.
So my questions are:
Upvotes: 3
Views: 6013
Reputation: 72
I recently went through the same thing and in the end we went with http://datatables.net/. You can use it with or without rest and we've found it fits our needs pretty nice.
Upvotes: 0
Reputation: 61
You can try to use extJS Grid. ExtJs is having well explained of documentation. We have used this in our sf 1.4 project.
Create a widget that will import extjs Grid
You will have to create rest api for data for the grid. This can be easily achieved by using sfDoctrineRestGeneratorPlugin for doctrine.
I could not find a plugin for propel orm. Rest API can be easily created without a plugin
For Editable ExtJs 4 grid documentation refer http://docs.sencha.com/extjs/4.0.7/#!/example/restful/restful.html
Upvotes: 0
Reputation: 1820
I think jqGrid is the best among all listed above. Allows inline editing, adding rows, searching, sorting, column selection, column reordering, resizing, etc out-of-the-box. Data formats that can be used are datasource, JSON & XML. Demos at: http://trirand.com/blog/jqgrid/jqgrid.html
Upvotes: 1