igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

💎 Grid - Sorting - styling on header cells

Open SDinev opened this issue 8 years ago • 5 comments

Description

To better fit Material Design guidelines and to improve user experience, several changes are proposed:

  • [ ] Change font color of a header cell on hover to grays 900
  • [x] Make the sorting arrow appear on hover on applicable header cells at 54% black.
  • [x] Make the active sorting arrow at primary 500
  • [ ] Rotate (animate) the active sorting arrow when changing its state
  • [ ] Change font color of a header cell when sorted to grays 900

grid-sorting-hover

SDinev avatar Jul 13 '18 13:07 SDinev

Preview of hovering when the column header is longer and needs ellipsis. This behavior allows us to show more of the header text in a rest state, making the grid easier to read.

sorting-ellipsis

SDinev avatar Jul 13 '18 14:07 SDinev

@StefanIvanov @simeonoff Are we going to implement this? I am asking so I can start work on it.

desig9stein avatar Nov 07 '18 11:11 desig9stein

@desig9stein let's discuss.

simeonoff avatar Nov 12 '18 05:11 simeonoff

I recommend the following behavior for a sortable cell:

  • on hover (mouseover) everywhere on the whole header cell appears arrow icon which indicates that the column is sortable
  • sorting would be triggered only after clicking on the very icon in the right end of the cell

DaniMarinov avatar Nov 13 '18 12:11 DaniMarinov

@DaniMarinov can you outline a brief Sorting Spec based on the issue

StefanIvanov avatar Nov 28 '18 15:11 StefanIvanov