You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pratiksha-chandel you can do as following:
step 1: check if you have "glyphicon" installed in your application,
step 2: remove "aria-hidden="true" from DefaultSorter.ts
step 3: try to replace it with "fa fa-sort-up" or "fa fa-sort-down"
NOt working as expected . what change expected here?
import {Component, Input, OnInit} from "@angular/core";
import {DataTable, SortEvent} from "./DataTable";
@component({
selector: "mfDefaultSorter",
template:
<a style="cursor: pointer" (click)="sort()" class="text-nowrap"> <ng-content></ng-content> <span *ngIf="isSortedByMeAsc" class="glyphicon glyphicon-triangle-top" aria-hidden="true"></span> <span *ngIf="isSortedByMeDesc" class="glyphicon glyphicon-triangle-bottom" aria-hidden="true"></span> </a>
})
export class DefaultSorter implements OnInit {
@input("by") sortBy: string;
}
The text was updated successfully, but these errors were encountered: