tablesorter icon indicating copy to clipboard operation
tablesorter copied to clipboard

Some way to completely ignore a column and leave it unchanged when sorting?

Open harrison-munitz opened this issue 4 years ago • 2 comments

I have a column that I'd like to use as static row numbers. When I sort the table I want that column to remain unchanged so that it stays in 1,2,3... order. Is this possible currently or else could it be added? Presumably some sort of 'sort-ignore' class or similar on the

tag?

harrison-munitz avatar Jan 27 '21 20:01 harrison-munitz

Hi @harrison-munitz!

Check out the two "automatic row numbering" widgets under "other" on the wiki home page - https://github.com/Mottie/tablesorter/wiki#widgets - to see if that accomplishes what you want.

Mottie avatar Jan 28 '21 00:01 Mottie

Yes this does appear to do what I need. Although it still seems a bit odd that there's no way to exclude a column in general.

harrison-munitz avatar Jan 29 '21 17:01 harrison-munitz