Sorted column should drive the text in Pager tooltips

Description

The page navigation links always display tooltips using data from the first column, and not the column being used to sort.

Example:

Environment

None

Activity

Show:

Antranig Basman July 23, 2013 at 1:17 AM

Merged into trunk at revision acf4633. This facility is now present using the new boolean-valued option "annotateSortedColumn"

Jonathan Hung February 17, 2011 at 4:00 PM
Edited

To clarify why tooltips should be implemented this way, here's an example:
Page 1 has the following data in Name and Email columns: Alex a@foo.com, Betsy b@foo.com, Carlos amazing@foo.com

Now:

  • sort by email

  • Page 1 will be ordered: Alex a@foo.com, Carlos amazing@foo.com, Betsy b@foo.com,

  • the tooltip for page 1 will be: "Alex | Betsy"

This is misleading because the tooltip implies there are only results from Alex to Betsy inclusive. But when you visit Page 1, it actually includes Carlos which doesn't fit the pattern.

Worse case scenario is if a user has a lot of data and is looking for one particular result, the user may never find that record if using the tooltips alone.

So the only way to ensure that the tooltips are accurate is to display tooltips based on the sort column.

Harris Wong February 17, 2011 at 3:10 PM

This happens on Chrome, IE7, IE8, FF3.6 on Win XP as well.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created February 16, 2011 at 8:16 PM
Updated March 3, 2014 at 6:38 PM
Resolved July 23, 2013 at 1:17 AM