when i click on a cell on the list or in a crosstab the whole column background is changing an the selected cell background is chaged too.
can i disable it so when i click the cell nothing will happen, nothing will change in the display?
thanks,
tamir
You should know that if you disable this, then you also lose the right-click context menu.
There are two ways of doing this.
1. Go to the properties of the report. Click on Report, Advanced options. Uncheck "Enable selection-based interactivity in HTML reports"
2. You can disable interactive selections for groups of users through the capabilities screen. Administration -> Security -> Capabilities -> Cognos viewer -> Selection. Remove everyone, or set specific groups to deny.
hi paul,
the issue is that i want to change the background color of the row of the cell i am clicking.
i am using CSS
do you have a solution for this?
i succeded to change the background-color while i hover with the mouse:
tr:hover{
background-color:#D9E9F0;
}
Difficult. When you click on a cell, the physical change to the table is that the cells in question gain either
background-image: url(../common/images/selection_primary.png); BACKGROUND-REPEAT: repeat;
or
background-image: url(../common/images/selection_secondary.png); BACKGROUND-REPEAT: repeat;
It would have been easier if clicking on the cell simply changed the style.
You may be able to pickyback on the click functionality that selects the node. But that would be diving deep into the internal JS API, and I don't recommend doing that.