FLUID-4071: Sorted column should drive the text in Pager tooltips

Metadata

Source
FLUID-4071
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Jonathan Hung
Created
2011-02-16T15:16:11.579-0500
Updated
2014-03-03T13:38:44.454-0500
Versions
  1. 1.3.1
Fixed Versions
N/A
Component
  1. Pager

Description

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

Example:

Comments

  • Harris Wong commented 2011-02-17T10:10:23.683-0500

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

  • Jonathan Hung commented 2011-02-17T11:00:47.560-0500

    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.

  • Antranig Basman commented 2013-07-22T21:17:40.125-0400

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