History log of /yui3/src/datatable/js/sort.js
Revision Date Author Comments Expand
0c11eb686fb26ed5ccb04d1beb4e91952fce0bcb 20-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Add API docs for sort event.

53c97f474022b2633bdeccab063f518c4015f27a 13-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Clean up module vs class descriptions, +@since 3.5.0 Moved the lengthy text from the module description to the class description so the module page would look cleaner. Added note for each class extension to point readers to the DataTable class for docs on the APIs contributed by this class, since they all have @for DataTable.

0dd0e79d3ecf5e1dcfd4748537e50c65f757429e 10-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Add desc flag back into sortFn Back compat, and 2.x compat.

adad741345a668146507029dd5fe56905b10abde 05-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Fix mismatched key events. Subscribing to keypress, and triggering behavior for keydown. Because space also triggers a click under many cases, this was working previously in browsers other than FF.

2b9aa50d4077b548fa76a5d5330265ab397caad3 05-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Reapply sort liner for FF FF doesn't support <th> + position: relative, so the sort indicator was rendering in the bottom right corner of the page.

b2c3f7ee9595487fa2c245134423177b4421db5d 05-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Add back compat for field and id column configs core.js added the back compat. The others share an update of changing references of col._yuid to col.id.

7517febf3436a32039d125a66566b1c7be2f6b26 04-Mar-2012 Luke Smith <lsmith@yahoo-inc.com>

Add aria-sort, remove liner, add keyboard sorting Per accessibility review, it was recommended to remove the <a> liner in favor of adding tabindex to the <th> and listening for spacebar to activate sorting.

7a40ce4f121af8aa648db1d17f5b09be0b55df4b 29-Feb-2012 Luke Smith <lsmith@yahoo-inc.com>

Use data attribute to id column, +indicator sprite * Add an indicator element to the sort header to leverage a css sprite for all arrows. * Change template to use <a role="button"> and role="presentation" on the indicator. * Use the data-yui3-col-{_id} data attribute to identify the column

8a6a44314c3b8b5125191793d3f3e0baa8d31b7c 29-Feb-2012 Luke Smith <lsmith@yahoo-inc.com>

Add column _id as data attribute in markup This makes it easier to tie the header clicks to the column configs for sorting, and it makes it possible for scrolling DT's to duplicate headers and relay fixed header clicks to the sort operation.

6fe31db087e6c93b1df3a96b888b55344e039a23 07-Feb-2012 Luke Smith <lsmith@yahoo-inc.com>

Add title and aria role to sortable headers

771b101c1b151cb6c431aceafc4c95cdd8d2a4e1 02-Feb-2012 Luke Smith <lsmith@yahoo-inc.com>

Resort if Model changes in sorted attributes

55e462437cab83f4f545bfd864f3296cd2a0e806 01-Feb-2012 Luke Smith <lsmith@yahoo-inc.com>

Fix examples for syntax highlighting

f5443cec5378e1eba162c289f05b690b699c9c7b 31-Jan-2012 Luke Smith <lsmith@yahoo-inc.com>

Rough draft API docs for UI review and edit.

59c94cbcd6e39e484a57bf3665a8ab98beafc57e 31-Jan-2012 Luke Smith <lsmith@yahoo-inc.com>

WIP API docs for datatable-sort

f5df3320c255ef9e7c007469613dc31b4f91a3d8 27-Jan-2012 Luke Smith <lsmith@yahoo-inc.com>

Battle with !WK + IE + deadline == liner divs :( Only on the sortable headers, and hopefully I'll be able to figure something out to remove them later.

32624ce45f113c04dfa5469b3cc77df42c4c46f4 27-Jan-2012 Luke Smith <lsmith@yahoo-inc.com>

Working. Minor css glitches and IE UI pending When a column is sorted desc, hovering the column header doesn't flip the arrow correctly. Arrow UI is implemented using ::after styling, so is missing in IE 6 and 7. Implement conditional module?

8fff801a4a38e13d6ff8181ff097fb01d058d617 26-Jan-2012 Luke Smith <lsmith@yahoo-inc.com>

Rough code done. debugging time.

4eafc0c9b36f7e8efc8808ab27dbed7ff8dc87ab 26-Jan-2012 Luke Smith <lsmith@yahoo-inc.com>

Initial WIP drop of datatable-sort