This extension is a widget that simply filters an array of strings by some input.
Please visit the plugin homepage for demonstration and documentation.
see: jQuery Simple Filter
- Yii 1.1.4 or above
- Extract the release file under
- put in a view code blocks like the following...
See the following code example:
$this->widget( 'ext.simpleFilter.JSimpleFilter', array( 'model'=>$model, 'attribute'=>'country', 'htmlOptions'=>array('size'=>65), 'data'=>array('Germany','USA','Russia','Bulgaria'), 'showAll' => true, 'position' => 1, ));
Internationalization (I18N) ¶
The widget support german and english at the moment. If you have a translation of the message file in an other language than feel you free and send me a mail with your translation!
Change Log ¶
September 22, 2010 Version 1.0 ¶
- Initial release.
March 24, 2011 Version 1.2 ¶
- better documentation
March 29, 2011 Version 1.3 ¶
- I18N support for error messages
- some code optimation
March 29, 2011 Version 1.4 ¶
- eliminated bug who is visible in the user interface (break between label and input field)