Sometimes, you want to automatically render data from arrays, database queries… in the grids but feeling lazy to manually write HTML line by line. I’ve written a class named ‘Fete_ViewControl_DataGrid’ which can help you do that. This class also supports sorting, it can be easily integrated with other frameworks or your existing codes.
The class and examples have been uploaded to PHPClasses.org at http://www.phpclasses.org/browse/package/5476.html. I will update every further change on that repository.
I’ve received some emails that suggest paging feature. I’ll be trying to find a proper solution. Thank you all for your feedbacks
Related Posts
No related posts.










Awesome class. I’m making my version of this class. Tnks for sharing this with us. In your example you remove the user_id field and use this in href of edit and delete link but it is not parsed.
Tnks again.