angularjs-dropdown-multiselect icon indicating copy to clipboard operation
angularjs-dropdown-multiselect copied to clipboard

groupBy issue

Open JuliaNsk opened this issue 8 years ago • 4 comments

smth was changed in groupBy, I have two groups: 'My projects' vs 'Other projects'. Previously it was My then Other, and now Other than My. What should I do to sort goup names

JuliaNsk avatar Mar 27 '17 16:03 JuliaNsk

There currently is no way to order the groups, I'll add support for a sorting function.

pkempenaers avatar Mar 28 '17 06:03 pkempenaers

When the next release is planned?

JuliaNsk avatar Mar 30 '17 07:03 JuliaNsk

When I have time to work on it :) I have other priorities right now.

pkempenaers avatar Mar 30 '17 09:03 pkempenaers

Group by issue in version 1.11.8

JS Code :

$scope.selectByGroupData = [ { id: 1, label: "David", gender: 'M' }, { id: 2, label: "Jhon", gender: 'M' }, { id: 3, label: "Lisa", gender: 'F' }, { id: 4, label: "Nicole", gender: 'F' }, { id: 5, label: "Danny", gender: 'M' }, { id: 6, label: "Unknown", gender: 'O' } ]; $scope.selectByGroupSettings = { groupBy: 'gender', };

HTML:

<div ng-dropdown-multiselect="" options="selectByGroupData" selected-model="genderCollection" extra-settings="selectByGroupSettings">
                                    </div>

I tried by adding groupby attribute in html block also could not worked :( Above code group by not working or if I'm missing something not sure Please help asap Thanks in advance..!!

akshay-bbytes avatar Dec 18 '17 15:12 akshay-bbytes