-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(expandAllButton): Add ability to hide expand all button.
fix #6555
- Loading branch information
Showing
6 changed files
with
468 additions
and
183 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
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
12 changes: 6 additions & 6 deletions
12
src/features/expandable/templates/expandableTopRowHeader.html
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<div | ||
class="ui-grid-row-header-cell ui-grid-expandable-buttons-cell"> | ||
<div | ||
class="ui-grid-cell-contents"> | ||
<i | ||
<div class="ui-grid-row-header-cell ui-grid-expandable-buttons-cell"> | ||
<div class="ui-grid-cell-contents"> | ||
<span class="ui-grid-cell-empty" ng-if="!grid.options.showExpandAllButton"></span> | ||
<button type="button" class="ui-grid-icon-button" | ||
ng-if="grid.options.showExpandAllButton" | ||
ng-class="{ 'ui-grid-icon-plus-squared' : !grid.expandable.expandedAll, 'ui-grid-icon-minus-squared' : grid.expandable.expandedAll }" | ||
ng-click="grid.api.expandable.toggleAllRows()"> | ||
</i> | ||
</button> | ||
</div> | ||
</div> |
Oops, something went wrong.