Summer Sun
Summer Sun

Reputation: 1026

Pentaho CDE Dashboard Component Style Editing

I'm quite new to Pentaho dashboard develop and i have a problem with the component style.

For example, I added a table component to my dashboard.

In the "Advanced Properties -> Style" option of this table component, I select "bootstrap". Okay then the table component is automatically added some bootstrap style classes.

But, I want to remove one of those classes. I want to use jQuery.removeClass() to implement this but I don't know where should I put my js sentences.

Further more, if i want to do some other operation towards the generated table component using js, where should i put my js sentences.

I do not understand the workflow of pentaho cde dashboard so this question may seems a little silly. Thank you for your time!

Upvotes: 0

Views: 2190

Answers (1)

Venkatesh Panabaka
Venkatesh Panabaka

Reputation: 2154

You can put your code in Draw Function.

=> Your using Table component. By using java script code or jquery code you can manipulate the data in table component.

Example:
1. You want to sum of the row values.
2. You can hide the columns and rows.

Note: If you put some code in draw function. table component has convert sql result in to HTML table. Its like a normal HTML table.

Thank you.

Upvotes: 0

Related Questions