I'm afraid that we do not have such example available.
The snippet in question creates 3 column groups, one for each sequential year, where the each group title is the year.
If you want to create multiple column groups base on the array of years loaded from the database. You will need to store them in a separate array, for example attached to the ViewModel, iterate the array and construct the column definition. For example:
columns.Group(group => group
//.... bound column declaration
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI