Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1324 closed enhancement (invalid)

SortableTable sorting of HTML content

Reported by: [email protected] Owned by: Tom Trenka
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: SortTable html sort Cc:
Blocked By: Blocking:


I need to have the look of few columns different than others. Since I was not able to use class for the tables TDs, i had to put HMTL in the TD, but that brakes sorting.

[1] imho, HTML content should be sortable too by default, because sometimes users may have always the same html content to decorate columns separatly, (for example: <span class="">), therefore the content will be sortable. However, if user do not want to sort, he can always manually add 'nosort' attribute.

SortableTable?.js Line: 208


[2] Even better thing to do is to add a new optional attribute: 'content', what will be used for sorting, if exists.

Change History (3)

comment:1 Changed 15 years ago by dylan

Milestone: 0.4
Owner: changed from bill to Tom Trenka

comment:2 Changed 15 years ago by Tom Trenka

Resolution: invalid
Status: newclosed

SortableTable? wasn't ever meant to contain data other than something that could be cast as a defined data type; sorting on HTML is an issue in any number of ways, which means that not sorting on HTML was a deliberate design choice.

Therefore I'm marking this as an invalid bug.

However, you're more than welcome to move to the new FilteringTable? widget, which (among a number of other things) *does* allow sorting on HTML.

comment:3 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.