Dynamic columns with ng-repeat


#1

Hi,
I’ve created a new template of an Active form report and wanted to adapt this template with my data.
How can I make the number of the columns dynamic with an Ng-repeat?
example:
Week1 Week2
measure1 measur2 measure3 … measure1 measur2 measure3 …


#2

Hi @adil.takafi,

We do have an active form directive already - tm1-ui-rpt-view - for this.

With the current active form directive for example, you can manipulate the MDX statements associated with the tm1-ui-rpt-column’s tm1-mdx or Subsets via the tm1-subset property and affect the columns of the active form.

Have you checked out the above directive? There is also an example in the samples application.


Paul