@borboss I would probably have used scopes and injected a ViewModel that described the column, or it could even contain a function to add the columns you want. You could also consider using subclassing. Have a base class with all the common columns (if any) and subclasses with the specific columns.