Hello, I'm using jQuery Tablesorter to sort a table and everything works as expected. What I'd like to do is add a link above my table that says something along the lines of "Sort by Price" and when the user clicks the link I want the "Price" column to sort. Additionally, if they click it again, it would sort the price the other way. Is ...
Hi,
I a couple of issues using Tablesorter 2.0.3.
The first issue is when I set a colspan on my table. Basically when I do this as below it doesn't sort the respective columns.
<table>
<thead>
<th colspan="3"></th>
<th>Four</th>
<th>Five</th>
<th>Six</th>
<th>Seven</th>
</thead>
<tbody...
I am using the TableSorter and Pager plugin from here:
http://tablesorter.com/docs/
I want the table to display results starting at some defined index- for example, if my index is 14, I want the table to display the 'page' of results 11-20, so my row is shown, rather than starting at the default page 1, showing results 1-10.
I have thi...
Hi I am using tablesorter and would like to make a slight amendment to how it works. Currently tablesorter sorts a column whenever a user clicks on any part of the cell.
Eg.
<th>One</th>
<th>Two</th>
<th>Three</th>
I don't particularly like the default styling of the sorter, so what I have done is made some css buttons and placed th...
Hi 2ALL...
I've a tablesorter with attached pager plugin on my page with links 'Details' in the one of the cell. Links have a class='lightwindow' and after clicking is rising up a LightWindow script with a window. So it work's vell on the First Page .. when i click Next Page on SortTable.Pager and clickin on my link 'Details' it's doesn...
I am using the Tablesorter plugin and it works great. Currently, I achieve table scrolling using a div wrapper. Is it possible to make the table scroll, keeping the headers visible while scrolling and not using any divs?
...
I'm trying to use an AJAX request to load some information into a table using JQuery. I can load the content easily but I am having problems adding event handlers to apply style on the loaded content.
I am applying a striping widget to the table. However when my AJAX request comes back and my information is appended to the table body it...
I have a table with a column of data that is mixed text and numbers. I'm sorting it using jQuery and the tablesorter plugin. The data that won't sort correctly is equipment tags, for example, "AHU-1", "AHU-2", "AHU-10". The problem is, given those example values, AHU-10 will be placed between AHU-1 and AHU-2. I've found forcing a 'digi...
I am trying use the jQuery table sorter plugin for a table that is generated using ASP.NET gridview.
For some maddening reason, it works fine in IE but not in Firefox or Chrome. It always seems to sort only on the first column even if you click on other columns.
I have uploaded the generated html (after stripping to the bare minimum w...
I have a jquery table sort that make my total sum disapears from the bottom.
Is there any way to keep the total alive during click events?
...
I have a table which is updated with ajax and after update it if sorted but I need to sort not a fixed column but the same column which was last clicked before update.
function tableUpdated() {
$(".tablesorter").trigger("update");
//alert($(".tablesorter").sorting);
var sorting = [[7, 0]];
$("table").trigger("sorton", [sorting]);
}
In...
Hi,
I'm trying to highlight table rows on mouse hover. The each row (tr) has a class either "even" or "odd" already. So, to highlight the row on mouse hover, I need to remove the CSS class "even" or"odd" from the row first. Please take a lot at my script:
$('tr').hover(function() {
if ($('this').hasClass('even')) {
$(this).remov...
Hi there, am using jquery tablesorter plugin and in my "country" column i got special characters like this: Índia.
The fact is that when i hit the header of the column to sort it, it puts my "Índia" at the end of the column. I guess the nav sees the instead of the real "I" with an accent.
Any clue on how to make it work even with acc...
Hi,
I found this great Tablesorter plugin for jQuery but I can't make it work with my PHP generated table. Here's the code:
<script type="text/javascript">
function table() {
$("#container").load("table.php?randval="+Math.random());
}
$(document).ready(function() {
table();
$("table").tableso...
I'm usig tablesorter jQuery to parse this xml file
<?xml version="1.0" encoding="iso-8859-1"?>
<CATALOG>
<CD>
<TITLE>Title 01</TITLE>
<ARTIST>Artist 01</ARTIST>
<COUNTRY>Country 01</COUNTRY>
<PRICE>10.00</PRICE>
<YEAR>2010</YEAR>
<INFO>Tooltip Info 01</INFO>
</CD>
<CD>
<TITLE>Title 02</TITLE>
<...
Hi,
I've found this code in the internet:
$.tablesorter.addWidget({
id: "memorizeSortOrder",
format: function(table) {
if (!table.config.widgetMemorizeSortOrder.isBinded) { // only bind if not already binded
table.config.widgetMemorizeSortOrder.isBinded = true;
$("thead th:visible",table).click(function() {
var ...
Hiya,
I'm not really a Javascript programmer, so I'm struggling with this! I'm using the tablesorter plugin along with the Tablegroup plugin, which work very nicely to group the table rows by a parent, and then sort the parents.
My problem is though, that I'd also like the child rows to be sorted whilst within the parent group
I've d...
i m using jQuery tablsorter plugin, it's working perfect,but now problem is ...
i want to enable sorting only on 1'st and 3'rd column, and i also want to show different color of alternate row. i used widgets:[zebra], but using widget zebra, it enables sorting on all column as well as images(asc.gif,desc.gif,bg.gif) is also appearing on ...
Hi,
I'm using jquery and tablesorter plugin to sort a table in a php-page, which works flawless.
Further I have this form in it:
<form name="newrs" id="newrs" action="edit.php" enctype="multipart/form-data" method="POST" onSubmit="">
<input class="btn" id="bbtnNew" name="button" type="submit" value="New Recordset" />
</form>
But si...
Hi all,
I've been looking around for a solution to this thing but I haven't found anything similar to what I want.
I've got a table filled with data from a database, and I want to change the background colour of a specific row depending on the class I'm loading in each row.
I have to display some data but as the fields to be display...