Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Its possible group by the select values? #74

Closed
iosdroid opened this issue Oct 20, 2016 · 6 comments
Closed

Its possible group by the select values? #74

iosdroid opened this issue Oct 20, 2016 · 6 comments

Comments

@iosdroid
Copy link

iosdroid commented Oct 20, 2016

select values group by some value its not working

@iosdroid iosdroid changed the title group by filter not working Its possible group by the select values? Oct 20, 2016
@bianchimro
Copy link
Member

hi,
can you post an example?

@iosdroid
Copy link
Author

Hi I have a array like
$scope.players = [
{id:'1',name: 'Gene', team: 'alpha'},
{id:'2',name: 'George', team: 'alpha'},
{id:'3',name: 'Steve', team: 'beta'},
{id:'4',name: 'Paula', team: 'beta'},
{id:'5',name: 'Scruath', team: 'gamma'}
];

I want to show the select like
albha

  • Gene
  • George

beta

  • Steve
  • Paula

gamma

  • Scruath

@bianchimro
Copy link
Member

Hi you can pass in a custom template, but it's not (yet) documented.
see this codepen for an example of template customization:

http://codepen.io/meanme/pen/ONmGzW

@iosdroid
Copy link
Author

I am in little confusion. can u create custom templates for my examples?

@bianchimro
Copy link
Member

sorry but I am quite busy at the moment.
If you are not in a hurry I will help ASAP.
Maybe you can setup a codepen so that i can edit it?

@iosdroid
Copy link
Author

iosdroid commented Nov 3, 2016

No Issues..I am Wait for your example

@iosdroid iosdroid closed this as completed Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants