on 03-02-2007 11:22 PM
Hi,
I'm using a TableView in a BSP-View which has the SelectionMode = 'NONE'. Inside the iterator-method RENDER_CELL_START I add a link via which an entry can be selected and details will become reloaded. Now I want to highlight the selected line via the P_STYLE-Paramter in the method RENDER_CELL_START. An additional information: I'm using Design 2003...
Unfortunatelly I don't find the color which is normally set by selecting a line in SelectionMode = 'SINGLESELECT' (orange). Furthermore, there are some colors which don't seem to work - e.g. I tried the following color in three different ways:
P_STYLE = ifur_d2=>STCD_MARKED.
P_STYLE = 'celldesign:STCD_MARKED'.
P_STYLE = 'celldesign:MARKED'.
Can anybody help me please. It's important for me to find the same orange like in SingleSelection-Mode to have a corporate design.
Best regards, Stefan
this brings almost same color
p_style = 'celldesign:CRITICALVALUE_DARK;'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the css class for selected row is urSTSelRo. and your cell is rendered with the following code.
<td class="urSTTD urSTTDBdr urSTSelRo" id="tvX-cell-5-4"
so what you can do is using javascript you can set the class for the cell to get the color.
getElementById('tvX-cell-5-4').class = 'urSTSelRo' ,
where in tvX-cell-5-4
tvX is the tableview id
cell is a constant and 5 is the row and 4 is the column
Regards
Raja
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.