on 12-16-2004 3:58 AM
Hi to all,
We are Using design 2002,WAS6.20. Coming to theme concept when the user select the row in tableview we need to change the color for the selected row in singleselect mode.In editing the stylesheet it works fine for multiline but not for singleline.its difficult to find the Corresponding class file for selecting the row.And also we need the row in alternating color and using <b>"design=alternating"</b>but it not giving expected result.
i need a help for finding this related class file..
We are not in idea switch to design 2003..As already we created the entire theme in design 2002..
Thanks in advance
Are you talking about BSP tableview?
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja..
I am talking about Tableview in <b>HTMLB</b>.I created the seperate theme and i found the related class files to change tray headers,body...But i cant find the class file for when the row has been selected in tableview in SingleSelect mode(i want to change the entire row in differnt color when the row has been selected) and also alternating colors for the tableview doesnt works....eventhough i used the attribute <b>"design=alternating"</b>..Can u please help on this.
Thanks and Regards,
Mahendran.N
Hi,
I got your questions now (confusion was because we use HTMLB for BSP also).
1. design issue: try passing the value "alternating" in uppercase "ALTERNATING".
2. Row selection event class=>
com.sapportals.htmlb.event.TableRowSelectionEvent
3. To change the style, you have to set the style for each column, there is no other way to set the style for entire row.
com.sapportals.htmlb.enum.TableCellStyle
Regards
Raja
Hi Raja,
Thx lot for ur valuable solutions...
But, The attribute design=ALTERNATING is working fine without the attribute SINGLESELECT..But ,When i am using on SINGLESELECT the alternating row colors are not working..And also i am alternating the style sheet class ..please tell what to do when the user has selecting the row to change the entire color of the selected row..The things i am wishing to change in stylesheet....
Hi,
Good to know that i was able to help you a bit.
<u>Changing the Style Sheet:</u> Sorry i am not good at that.
Since you are new to SDN may i introduce you to the points system at SDN.
You assign points to the replies that you have found to be useful. It's a way to say "thanks" for the effort in the replies.
See: /people/mark.finnern/blog/2004/08/10/spread-the-love for directions.
Click on the Yellow Star icon in each reply.
You can give:
1 - 10 pointer (marks it as a solved problem)
2 - 6 pointers (very helpful)
Lots of 2 pointers (helpful)
Regards
Raja
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.