Skip to content

Griddle heading ascending/descending classnames not generated #698

Description

@moraleslos

I'm using Griddle with pagination, filter and local plugin, with useGriddleStyles = false so that I can use custom styles defined externally. I'm trying to style the ascending/descending icons of the header to those from fontawesome. I'm doing this by overriding the griddle-heading-ascending and griddle-heading-descending classes like this:

.griddle-heading-ascending:before {
   content: "\f15d";
   font-family: FontAwesome;
}

However griddle just uses the built-in up/down arrow icons. Looking at the elements via Chrome, it seems that there are no griddle-heading-ascending and griddle-heading-descending classes generated. It just creates an inline <span> inside the <th> with the griddle-table-heading-cell classname:

screenshot_3

Is there supposed to be griddle-heading-ascending and griddle-heading-descending span classes generated?

BTW using Griddle 1.6.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions