An open API service indexing awesome lists of open source software.

https://github.com/raoul2000/etablesorter

This class implements the TableSorter JQuery Plugin for Yii
https://github.com/raoul2000/etablesorter

Last synced: about 2 months ago
JSON representation

This class implements the TableSorter JQuery Plugin for Yii

Awesome Lists containing this project

README

        

This Yii extension is a wrapper for the TableSorter [JQuery Plugin](http://tablesorter.com/docs/)
It allows client side table sorting with minimum effort.

##Requirements

Yii 1.1 or above (but should work with older versions)

##Usage

To use this extension insert the ETableSorter widget in the view where the target table is
also displayed.

~~~
[php]
widget('ext.etablesorter.ETableSorter',array(
'tableId' => 'myTable',
'theme' => 'blue',
'cancelSelection' => true,
'cssDesc' => 'styleHeader',
'cssAsc' => 'styleAsc',
)
);
?>




Last Name
First Name
Email
Due
Web Site




Smith
John
[email protected]
$50.00
http://www.jsmith.com


Bach
Frank
[email protected]
$50.00
http://www.frank.com


Doe
Jason
[email protected]
$100.00
http://www.jdoe.com


Conway
Tim
[email protected]
$50.00
http://www.timconway.com


~~~

##Resources

* [Try out a demo - TableSorted Jquery page](http://tablesorter.com/docs/)