Hello Stuart Hemming,
In theory there is a way how to do what you want and I am sending you a little demo, but it has some limitations.
I recommend you see this demo and use it instead:
I am not sure why you need to group by custom attributes. Can you elaborate a bit?
the Telerik team