This extension encapsulates the JEditable library into a widget, which can be used in CForm definitions or anywhere you want in-place editable content.
This has just been uploaded and I'm tweaking things, so I suggest cloning the code from GitHub, rather than downloading a snapshot (which will probably be out of date).
protected/extensionsMore detailed documentation is available at the GitHub repository.
See the following code examples:
In a form definition:
return array( 'name' => array('type' => 'application.extensions.jeditable.DsJEditableWidget', 'jeditable_type' => 'text') );
In a view:
$this->widget('application.extensions.jeditable.DsJEditableWidget', array('jeditable_type' => 'text'))
Please refer to the Commit History on GitHub.
Total 1 comment
Plz could you upload a some example to download it??
thnx
Leave a comment
Please login to leave your comment.