There are few CrossTabs in my app ( I'm developing my application in SAP BusinessObjects Design Studio, ver. 1.6 ).
Very often I need to change style of cells (Income cells, see Fig.1).
I have done some research througth community and there are some advantages
to use BEX Query Designer or SAP BO Analysis.
Let me share some links to articles and questions.
Tammy Powlas describes Analysis tools here
Looking at Analysis OLAP to Design Studio
Victor Gabriel Saiz Castillo tells about his experience here
Exception Icons in Design Studio
And another two interesting posts here
How to show status icons for BEx Exceptions in Design Studio
Design Studio 1.4 CSS colors in Crosstab
For my example, I need to add some stylish in SAP BO Analysis
and then export results in Design Studion.
but I need to do change very quickly and it is too complicated to use different
software just for changing colour of font. I'd like to do whole development in Design Studio only
and to do it as flexible as possible.
Let me tell more details about my problem.
For example simple crosstab (Fig. 1)
there are few departments and there are few requiremnts for each department in my project.
(different colour for font, background, additional icons and etc. in "Income" column)
Here Exception Icons in Design Studio
is some css classes and all of them are different.
.BExExceptionIconOpt .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert1Background
.BExExceptionIconOpt .sapzencrosstab-DataCellDefault.sapzencrosstab-DataCellAlert2Background
and etc.
As I see there is no options to generate unique style for each cell in Design Studio,
but there is unique id for divs
See an image below (Fig .2)
Usually i use some scripts which allow to get div and change it's style
(something likes this
<script>
vardiv = document.getElementById('_cel118_cont')
// add some css manipulations
</script>
)
My question is how can I use native JS to change div style.
I have tried to put it in a "Start up" event of my application but it doesn't work.
Maybe there are any opportunities to include .js files in my application or some other ways.
Please help me!