Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change styling of crosstab row on click of a button

Hi All,

Initial problem : I have a cross-tab with several rows and columns. Users want the ability to select a row and click a button after which the font of the entire selected row should change to a particular color(say red).

Related problem : They may choose to perform the same action at a later point in time but the previously selected row(s) must remain red after the consequent actions. I.e. if row 1 was selected first then it must turn red and remain red when say row 2 is selected.

To solve the "related problem", I guess i could provide a check box and ask users to select all the rows that they want and then click on the button. But i am really stuck with the "initial problem".


This is what i tried:


1. Assigning css class to crosstab using "setcss". But this applies to entire cross tab which is not what i want


2. Overwriting standard sap css classes. Again this affects all parts which are related to the css class and not the row selected by the user.


Links i visited :


http://scn.sap.com/community/businessobjects-design-studio/blog/2013/06/06/new-in-11-css-classes

http://scn.sap.com/docs/DOC-44531

http://scn.sap.com/community/businessobjects-design-studio/blog/2013/06/22/css-continued-learning-from-answers-from-victor

http://scn.sap.com/community/businessobjects-design-studio/blog/2013/07/21/design-studio

http://scn.sap.com/docs/DOC-42544

http://visualbi.com/blogs/design-studio/css-tips-tricks-default-selection-crosstab-sap-businessobjects-design-studio/

Please assist. Thank you.

Regards,

Palaniappan Ramanathan

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question