views:

616

answers:

3

Can anyone recommend a good Zend Framework friendly table/grid API? I'm developing an information management system and I need a component where I can display all/some of the records, and provide paging, search, sorting, and link to various actions.

I've been looking into Dojo with (dojox.grid.Grid) and it just doesn't feel right to me. I wasn't looking to getting tied to a javascript based solution that wouldnt function properly if the browser has JS disabled. I also don't like the infinite scroll concept, and I feel my users would be much more familiar with a paging based approach.

+1  A: 

I've been very tempted to use this in some of my own applications, but haven't gotten the chance yet. It's jQuery based, and looks like a pretty full featured little widget:

http://trirand.com/jqgrid/jqgrid.html http://www.trirand.com/blog/

Stephen J. Fuhry
+3  A: 

This implementation looks promising:

http://code.google.com/p/zfdatagrid/

It handles the pagination and filters...well, it handles a lot more than that.

Pro777
A: 

I found http://code.google.com/p/zfdatagrid/ very promising as said above.

It is that good that I would like it to see it being included in ZF at some point.

It is a bit rough around the edges but it doesn't need much work to be done on it and it just works.

I spend two weeks trying to implement the dojo datagrid which I thought it'd be easier to do so since it's more ZF friendly but it just wouldn't work. Not this and some other JS datagrids I played with.

Highly recommended! I hope there will be a "clean" version soon, i.e. without the examples, just plug and play.

AngelP