Multiple columns of same attribute

Hi,

how can I use the same attribute multiple times in a table? For example:
I have a invoice table, which has "month" and "year" as column, but the data comes from the "date" attribute of the model, just with a different format.

Thanks!
Solution
Give the column a unique name (i.e. month & year) then resolve the state with getStateUsing
Was this page helpful?