1,881 questions
0
votes
1
answer
44
views
How to sort based on images in cell rows
I have a table that has a column that is either clicked or not. if clicked == 1, I want to show a font-awesome checkmark in the table cell, otherwise its blank. That all works fine. What is not ...
0
votes
1
answer
89
views
How to sort balance in table ascending and descending?
I was try sort the balance in table an ascending and an descending, but can't. I looked the w3schools tutorial and theme in stackoverflow about insertBefore and insertAfter without libraries. But isn'...
1
vote
2
answers
113
views
In a html table using tablesorter, how can a row have a background color depending on the contents of one of its cells?
I am showing a HTML table using the jQuery Mottie tablesorter. I would like the rows with a "v" in one of its columns to be formatted with a certain (given) background color, which is ...
0
votes
1
answer
59
views
jquery tablesorter scroller not setting height
I am using latest version of laravel. I am trying to use a table with tablesorter that is only 300px tall. no matter what I do, the scroller seems to be being ignored. The result is a table that ...
0
votes
0
answers
18
views
jQuery tablesorter icons not displaying correctly with text-start or text-end
I'm using jQuery tablesorter and the icons are not aligning correctly in the header columns. The icons are overlapping with the column header text. See image. I've narrowed it down to columns using ...
0
votes
1
answer
33
views
External tablesorter filter: load two datasets
I have two seperate Questions for the mottie tablesorter script:
I have created external buttons to filter the table beforehand. When you click, the data in question is loaded.
However, each time you ...
0
votes
1
answer
92
views
Mottie Tablesorter Custom Filter on Date Column
I am looking to remove the day of the week when sorting a column using Mottie Tablesorter v2.31.
The value of the cells are as follows: Friday, 9/15/2023 at 7:00AM.
Here is what I have so far based on ...
0
votes
1
answer
50
views
Disable ascending sort with jQuery tablesorter 2.3
Is it possible to disable ascending sort on the jQuery plugin tablesorter?
I’m trying to get a table header when clicked to either be sorted in descending order or be unsorted and skip the ascending ...
0
votes
1
answer
76
views
Tablesorter — How can I sort a column by first or last name (both ascending) rather than toggling between ascending and decending?
I want to use tablesorter to sort a column (column contains first name + last name) so that clicking the header toggles between sorting by first name and sorting by last name, both in ascending order.
...
0
votes
0
answers
39
views
How to sort multiple colums in several files in a folder in Excel (xlsx files) and save in a single file?
I am a noob in excel, i have multiple excel xlsx files with similar columns.
I am looking for a way to pick specified columns (applied same to all the files) and save them in a new file.
I will ...
0
votes
0
answers
63
views
Tablesorter Filter column A by content of column B
I have a tablesorter with some data.
I'm using Twig templates from Symfony Framework.
I'll make a basic example:
<table id="tablesorter" class="hideAtFirst tablesorter hover-...
1
vote
1
answer
33
views
TableSorterJS Reapply Default Filter Selections
I set the default value of a filter as indicated below
<th>Status</th>
<th data-value="N">Complete</th>
<th>Audit Date</...
1
vote
1
answer
105
views
Is there a way to tell jQuery tablesorter that the table is already sorted?
I've a web app that builds a table from data it receives from an API. These data are a CSV string, which has its rows already sorted by the API using a couple of columns.
Currently, I use the sortList ...
0
votes
1
answer
52
views
Need SQL assistance, Column A and B are distinct, but column c has multiple values. Need to add column D for second distinct value when present
I need help isolating multiple entries in order.
Column A
Column B
Column C
100a
1000
ABC
100a
1000
DEF
200b
2000
GHI
300c
3000
JKL
300c
3000
MNO
There are duplicates in Column A (which has a 1:...
0
votes
1
answer
77
views
Is it possible to use tablesorter pager without server side?
I want tablesorter to build a table and paging with a json-string/array I make manually with data from the server.
I know I can implement paging by getting a json-file with ajax from the server, but ...
-1
votes
1
answer
34
views
changing column to row with specific columns
i have a json data which can genrate this type of table
but i wand categories data under category name with price range
my required out put like this table
0
votes
1
answer
57
views
I have three radio buttons in one cell in tablesorter
I have three radio buttons in one cell in tablesorter.
How can I filter by each value?
I have been trying for several days looking at the official site but cannot solve the problem.
1
vote
0
answers
62
views
tablesorter data-math-filter returns no results when given a valid css selector
I'm using Mottie's tablesorter plugin with the Math extension. I have a conditionally formatted table - the categories of conditional formatting are indicated in a data-color attribute on the data ...
1
vote
1
answer
253
views
tablesorter is not a function rails 6 error
I am trying to add tablesorter to my tables but I end up with the following error on the browser console.
Uncaught TypeError: n(...).tablesorter is not a function
Here is my application.js:
// This ...
0
votes
1
answer
757
views
JQuery DataTables not displaying properly when populating table from MySql Table
The problem is all in my PHP WHILE Loop somehow, I know this for sure. It turns off all the DataTables features when I use this PHP script inside a table. All the sorts and pagination features are ...
0
votes
1
answer
214
views
order only number in dataframe rows by rows import from csv
I want to get ascending order all number of dataframe imported from a CSV file row-by-row:
I tried:
df_tirage = pd.read_csv('lotodata.csv', sep = ',', usecols=['day','month_year','num0','num1','num2','...
0
votes
0
answers
55
views
How to prevent tablesorter static rows from being filtered?
Given this code, tablesorter will remove my static row from view when the user filters and it meets the criteria for the filter:
$('.reportTableData').tablesorter({sortList: [[0, 0]],
widgets: ...
3
votes
2
answers
581
views
How to sort within a row of a data frame with categorical variables?
I have this code:
test <- data.frame("ClaimType1" = "Derivative", "ClaimType2" = "Derivative","ClaimType3" = "Class", "ClaimType4&...
0
votes
2
answers
110
views
jquery tablesorter changing page
Following the tutorial on this link https://mottie.github.io/tablesorter/beta-testing/example-pager-custom-controls.html#
How is the example able to change page (clicking on the page number) when the ...
1
vote
0
answers
144
views
TableSorter - Remove unsorted icon from "tablesorter-noSort" columns
The Actions column has tablesorter-noSort class applied to it, i.e. it's sorting is disabled. How do I make it so that the black-unsorted.gif icon is not displayed in the Actions column header?
The ...
0
votes
0
answers
106
views
jquery tablesorter with condition
I try to use tablesorter in jquery,if i click one column head, all the rows with the background color (e.g. red)on this column come all up,other fall behind. if i click another column head, all the ...
0
votes
1
answer
116
views
Tablesorter Problem: Column Selector Widget demo problem
I tried to include the Column Selector Widget to a table and it didn't work. After a couple of hours i found out that in the demo file itself and the the given html template it differs. On the working ...
0
votes
0
answers
410
views
jquery tablesorter set custom value for filter select options
If i have a td cell value as follows
<td data-column="0">
<a title="Test " href="..."><span class="inlineicon icon-object-cl_colo" ...
0
votes
0
answers
162
views
tablesorterPager is not a function
I'm trying to implement tablesorter with the pager function. I imported all the js files provided on the tablesorter website. Here I have my 'head' section of my Html file:
<head>
<script
...
1
vote
1
answer
121
views
how to place a row by name up to the beginning of a data frame in r
I have this dataframe
a <- c(5, 7, 9, 11)
b <- c(-8, -10, -3, -1)
c <- c(-4, -1, -6, 3)
d <- c(-4, -1, -6, 3)
df <- t(data.frame(a,b,c, d))
V1 V2 V3 V4
a 5 7 9 11
b ...
1
vote
2
answers
51
views
How to order rows in data frame for maximun net values in some columns in r
I have this dataframe
a <- c("5", 7, 9, "11")
b <- c("-8", "-10", -3, -1)
c <- c(-4, -1, "-6", "3")
df <- data.frame(a,b,c)
...
0
votes
1
answer
41
views
TableSorter : Sorting Works Randomly on Columns
I have table with collapsible rows. TableSorter is working fine for first column.
Expected Behaviour : It has to sort asc/desc on each column
But What is happening, click on first column (sorted) then ...
0
votes
0
answers
92
views
(Updated) Trying to edit the behaviour of toggle function in tablesorter with a nested table
(This post has been updated for clarity and more of my findings.)
I'm currently using the tablesorter functions toggle and tablesorter-childRow to make a table that has a child row that can be hidden ...
1
vote
1
answer
209
views
Tablesorter appears to be running twice for column selection
I've been using Mottie's excellent fork of Tablesorter for years. I'm running across a problem I've never seen before, and I'm not sure where to start hunting for the issue.
All functions are working ...
1
vote
0
answers
91
views
jQuery Tablesorter reflow looks good in Browser dev tools but not on smartphone
Hey guys I hope you can help me with my issue with tablesorter 2.0.
I want to create a table that reflows on a specific breakpoint. I am using tablesorter 2.0 for jQuery.
It looks perfect in Firefox ...
0
votes
1
answer
315
views
jquery 3.0.0 upgrade broke html table functonality
We are upgrading jquery from 1.8.2 to 3.0.0 in a legacy project which have many plugin.
We are using migrate plugin for ease of up-gradation ,it not showing any error in console except couple of ...
2
votes
1
answer
95
views
How can I get input elements using inputmask to not revert changes to the previous value when using them within a table sorted with tablesorter?
I have been spending a fair amount of time working on an issue with input elements, which are using inputmask, within a table sorted using tablesorter.
When the user enters an input in the masked ...
4
votes
3
answers
3k
views
Sorting antd column having multiple values
I have a column in my antd table called Specialities. The data(**specialities**) in that column is coming from back end as an array collection.
What I tried to do is
{
title: 'Specialties',
...
1
vote
1
answer
74
views
Jquery tablesorder plugin not showing next/prev page buttons
so i have a table like this
<table class="table table-striped table-bordered" id="results" style="direction:rtl;">
<thead>
<tr><td>...
0
votes
1
answer
68
views
Avoid Sort entire Tbody Jquery Tablesorter
I'm using Mottie Jquery tablesorter Fork.
I have this Html Structure:
Tbody-->tr/--->th/
tr--->Tbody
tr
tr
tr
<tr role='row'class='titulo2' id='verde".$id."'>
&...
1
vote
1
answer
178
views
How can I combine custom filter functions, custom selectSource and dynamic table population?
I'm trying to combine the approach from this answer for adding a custom filter option for selecting empty cells with a table which is populated dynamically. Unfortunately I'm finding that after an ...
0
votes
0
answers
53
views
How to tablesort the ajex result
The ajax is working. am able to populate the table with data from the Api
function searchcovid() {
var country = document.querySelector('#country').value
$.ajax({
type: 'get',
url: '/{...
0
votes
1
answer
444
views
Tablesorter filter and sum issue
I have a table with tablesorter, in which I want to have total sums for decimal columns and also to have a possibility to filter data by any column.
It works perfect, when I filter table by decimals, ...
0
votes
0
answers
176
views
jQuery tablesorter - two sorting options per column
Question is related to this example here: https://mottie.github.io/tablesorter/docs/example-parsers.html
I want to make two sorting options on one column.
Let’s say that I want to make radio buttons ...
0
votes
1
answer
125
views
Table Sorter updateAll method does not seem to be doing anything
I am feeling like I am losing my mind. Have been at this for days with a colleague. We have a DIV on an intranet site that is loading its content using the load function to grab a second page of which ...
1
vote
1
answer
195
views
Problem with jQuery Tablesorter custom-filter having accented characters and special config
I'm facing issue with custom filter defined when they :
have accented characters
textExtraction defined (to set usage of data-sort-value attribute i/o node text)
sortLocalCompare is set to true
...
2
votes
1
answer
324
views
JQuery tablesorter is not having any effect, what have I done wrong?
I'm very new to jQuery and am trying to use Tablesorter, however it has no effect on my table (styling doesn't change to the tablesorter css, and there is no sorting functionality).
Here is my html:
&...
1
vote
1
answer
710
views
How to sort on hidden or data-attribute value in textSorter
I have a "name" column in a table that contains a persons full name (ie. first+last name). The objective is to sort the column based on the person's last name first, then first name. My ...
0
votes
0
answers
39
views
Tablesorter when data-value attribute is set ajax triggers on initial load
when I have data-value set on one element, the whole table is loaded from AJAX dispite I have processAjaxOnInit: false in the main app.js file (because I have data to table preloaded on the first load)...
0
votes
1
answer
257
views
jQuery tablesorter widget-filter-formatter-select2 with a predefined filter list?
Successfully, I implemented the tablesorter filter widget, to select multiple options at the same time with partial matching without any problems (this plugin is great!):
https://mottie.github.io/...