Feature: Add 'sortable' class to header when column is sortable #514

mckramer opened this Issue Jan 11, 2013 · 0 comments


None yet
2 participants

mckramer commented Jan 11, 2013

Request to add sortable class to header div when column is sortable, which will allow for easier styling of sortable vs non-sortable column headers.

My suggestion would be to add within createColumnHeaders():

// Lines 560-562
if (m.sortable) {
  header.addClass('slick-header-sortable'); // Add class here
  header.append("<span class='slick-sort-indicator' />");

mleibman closed this Jan 13, 2013

@dholcombe dholcombe added a commit to dholcombe/SlickGrid that referenced this issue Aug 12, 2013

@dholcombe dholcombe Add 'sortable' CSS class to sortable header (#514)
Copied from mliebman commit on Jan 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment