table sorting with help of jquery sorter.
- <script type=“text/javascript” src=“{$SITEURL}egg_admin/js/jquery-latest.js”></script>
- <script type=“text/javascript” src=“{$SITEURL}egg_admin/js/jquery.tablesorter.pager.js”></script>
- <script type=“text/javascript” src=“{$SITEURL}egg_admin/js/jquery.tablesorter.js”>
- <script>
- $(document).ready(function() {
- // call the tablesorter plugin
- $(“#myTable”).tablesorter({
- // sort on the first column and third column, order asc
- //sortList: [[0,0],[1,0]]
- headers: {
- // assign the secound column (we start counting zero)
- 3: {
- // disable it by setting the property sorter to false
- sorter: false
- },
- 0: {
- // disable it by setting the property sorter to false
- sorter: false
- }
- }
- });
- });
- </script>
- <table>
- <thead>
- <tr>
- <th>test</th><tr></thred><table>
<script type=”text/javascript” src=”{$SITEURL}egg_admin/js/jquery.tablesorter.js”>
<script>
$(document).ready(function() {
// call the tablesorter plugin
$(“#myTable”).tablesorter({
// sort on the first column and third column, order asc
//sortList: [[0,0],[1,0]]
headers: {
// assign the secound column (we start counting zero)
3: {
// disable it by setting the property sorter to false
sorter: false
},
0: {
// disable it by setting the property sorter to false
sorter: false
}
}
});
});
</script>
<table>
<thead>
<tr>
<th>test</th><tr></thred><table>