Edit: extension added to extensions repository: eziiui
Hi People!
I’ve made this little extension to use CGridView, CDetailView and CLinkPager with jquery-ui theme framework.
Put it in your extensions folder and use it like normal widget.
Since I don’t extended CJuiWidget you need to include a jquery-ui css theme in your page or, to test, simply put a zii CJuiWidget (CJuiTabs for example) before in order to auto-include a default theme.
This is an early version, feel free to post your comments, suggestions and modifications.
Tested (quickly) on FF 3.5.x, Google Chrome, IE8, IE7, IE6
Known issues:
IE6, IE7 pager buttons spacing and dimensions are not the same as in FF
Interesting! I began to code a yii theme based on jquery-ui css and a custom fluid grid (instead of the blueprint css used by the default webapp), much more flexible than 960gs, blueprint and any other grid (similar to this http://fluidgrids.com which doesn’t correctly work on IE).
I like your extension but it needs more documentation.
Using it as you suggest I get errors regarding the ‘filter’ and ‘filterPosition’.
Commenting out the appropriate lines in CGridViewUI.php I managed to get it working, but it seems there’s much more to it than simply replacing ‘zii.widgets.grid.CGridView’ with ‘ext.eziiui.CGridViewUI’.
A good widget - a tree + grid (master-detail tables). Can you make this combination? Because I do not do it. Propose a my jqTree (edit/insert/delete/drag-drop) or a widget of your choice. I propose to help with my tree widget.
You already have all these features in jqGrid (CJuiJqGrid plugin). My extension is only a simple wrapper, so you have all the functionalities of jqGrid.