Customize table using tm1-ui-table-mdx directive


#1

Hi guys, is there a native way to customize the table generated when using tm1-ui-table-mdx directive?

What I am trying to achieve is the following:

  • Dynamically sort columns
  • Custom edit the text on the column headers
  • Possibly group multiple column(s)

I realize one can leverage an existing sortable class to sort the table as shown in sortable-table sample example but since the table is generated on the page using mdx directive, are there any other possibilities?

Thanks!


#2

Hi @nkaushal,

No, at the moment you can’t customise the table. If you want to do that you will need to create your own.


#3

Thanks Tim! For current immediate requirement, I decided to go ahead with populating the table with Active Form which provides me to customize the generated table on the fly. FYI, I also noticed the performance of my report has substantially improved.

Regarding grouping, I have merged multiple columns and enabled activation/deactivation of those columns against a specific selection which can be accessed via a checkbox button selection.

Thanks again!