How to get grouping values in views I created a views to show all my products, in each product have a field named "Color", so now I want to group all product has same color.
So now how can I get all grouping values,

For exam we have 6 results but just only has 2 colors : Red and Blue without Black one. 


My question is how can I get grouping values in this views (Red, Blue)

$view-&gt;some_thing-&gt;some_how ?


I want to put those values in View footer for my personal purpose

My View should displayed like this

--- View Content ----
[RED]
Product 1
Produc 2
[Blue]
Product 3
Product 4

--- View footer
[RED] - [BLUE]


Thanks
Add Color field into view.
Now click on formate setting.
Select the Color field as a Grouping field.