-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sort): add sort icons to grouping examples
- Loading branch information
1 parent
485b0fb
commit 0bb9844
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,10 +311,14 @@ export class GridDraggableGroupingComponent implements OnInit { | |
} | ||
} | ||
|
||
groupByDurationOrderByCount(isOrderingByCount = false) { | ||
this.durationOrderByCount = isOrderingByCount; | ||
groupByDurationOrderByCount(sortedByCount = false) { | ||
this.durationOrderByCount = sortedByCount; | ||
this.clearGrouping(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
PraveenGandhi
|
||
this.groupByDuration(); | ||
|
||
// you need to manually add the sort icon(s) in UI | ||
const sortColumns = sortedByCount ? [] : [{ columnId: 'duration', sortAsc: true }]; | ||
this.angularGrid.filterService.setSortColumnIcons(sortColumns); | ||
} | ||
|
||
groupByDurationEffortDriven() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PraveenGandhi
I'm not sure what you tried to comment about here??