Just wanted to note that i have just released Version 0.2 of the editable Gridview.
It contains some bugfixes and, most importantly, it automatically renders a Drop-Down Field when you can choose between a bunch of "related" Elements (for example post.author). To achieve this, it uses another Extension i wrote (Relation) - it is contained in the bundle. Get it here: http://www.yiiframework.com/extension/editablegridview/
only things missing is to filter the elements that are displayed in the CDropDownMenu (maybe you don´t want to make the user choose one of _every_element) and - most important some jquery javascript function to make the Editable Columns saveable. Both will be released soon
Note: When using the newest “filter”-technique of Yii the automatic relation resolvment fails; so be sure to comment out the ‘filter’ => $model, generated by the yiic crud command.
Is it possible to pass some custom data(like get a directory content) to the dataprovider in the controller, and in the view page display it in a gridview? Or i have to do it some otherway?
Yeah i did that, but after, i put all those datas into that property how can i display them in the gridview? or the datas must be in a specific structure for this data property?
I would like to implement a simple reset button in CGridView that clears all header fields of input and returns the CGridView to its initial, all header fields empty state.
I’m a newbie and I have tried several perhaps idiotic approaches, none of which has come close to working.
Any suggestions from the advanced minds here on this?
i am a newbie to Yii, we already have a CRM application which is developed in plane PHP an now thinking to re-write it using Yii. Excellent framework so far after migrating few screens
please help me with the below
while working with grid i want to change the text displayed for active field as 1=>Active 0=>Inactive
Also in case of table state we are saving the foreign key of table country, how do i show country label in the grid instead of the PK from table country?
please could someone assist with the above questions? I am sure this is very basic & would not take long for someone who is working with Yii for some time. any pointers would be appreciated
i am newbie using yii and php. currently i was able to add the new records using the editable gridview, but when i delete, it will prompt me twice times and after that, the add will not working.
can someone advise me?
however, i also would like to create the button to do the update for all the records display from the editable gridview. can someone guide me how to do so?