Skip to content

Commit

Permalink
[SSE] Add icons to filter dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Apr 2, 2024
1 parent 669badc commit f87045b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -1120,16 +1120,20 @@ define([

this.miSortLow2High = new Common.UI.MenuItem({
caption : this.txtSortLow2High,
iconCls : 'menu__icon btn-sort-down',
toggleGroup : 'menufiltersort',
checkable : true,
checkmark : false,
checked : false
});
this.miSortLow2High.on('click', _.bind(this.onSortType, this, Asc.c_oAscSortOptions.Ascending));

this.miSortHigh2Low = new Common.UI.MenuItem({
caption : this.txtSortHigh2Low,
iconCls : 'menu__icon btn-sort-up',
toggleGroup : 'menufiltersort',
checkable : true,
checkmark : false,
checked : false
});
this.miSortHigh2Low.on('click', _.bind(this.onSortType, this, Asc.c_oAscSortOptions.Descending));
Expand Down Expand Up @@ -1327,6 +1331,7 @@ define([

this.miClear = new Common.UI.MenuItem({
caption : this.txtClear,
iconCls : 'menu__icon btn-clear-filter',
checkable : false
});
this.miClear.on('click', _.bind(this.onClear, this));
Expand Down Expand Up @@ -1395,6 +1400,7 @@ define([
this.miLabelFilter.menu.on('item:click', _.bind(this.onLabelFilterMenuClick, this));

this.filtersMenu = new Common.UI.Menu({
cls: 'shifted-right',
items: [
this.miSortLow2High,
this.miSortHigh2Low,
Expand Down

0 comments on commit f87045b

Please sign in to comment.