Posted 11 May 2021, 5:35 pm EST
Hi,
Please help me with the below issue.
-
RoleArray = [‘1’, ‘2’, ‘3’];
Html Code -
<wj-flex-grid-column [header]=“‘role’” [binding]=“‘roleArray’”>
<wj-multi-select [placeholder]="'Select Role" [headerFormat]="'{count:n0 == 3} ALL'" [showSelectAllCheckbox]="showSelectAllCheckbox" [itemsSource]="'RoleArray'"> </wj-multi-select> </ng-template> </wj-flex-grid-column>
I’m trying to implement multiselect with all option. In my array, I have 3 values, if I select all of them , I need to show ‘ALL’ in the cell instead of selected value list (1,2,3).
As of now with above code, I’m getting error for [headerFormat]=“‘{count:n0 == 3} ALL’” .
- How to show ‘ALL’ in dropdown instead of ‘Select ALL’.