on 10-24-2007 12:28 PM
Hi All,
I am using tables in my application where in the requirement is to have alternate colors for rows....i was successful in doin tht.....but when i am sorting the table....the data is getting sorted and with that the colors of the rows are also changing. To be more clear........the alternate colors have been set to the table cell wise and so when the data is getting sorted.....i.e, after the sorting is done....the alternate row colors for the table is not working.....the colors are getting changed with the data.
can i have any solution for this problem
please do help me out in this issue....at the earliest....
thanking you
regards,
Murthy.
Hello Murthy,
Here is a blog for table colors. It is working for me.
/people/sap.user72/blog/2006/04/25/colourful-table-in-web-dynpro
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have no experience doing this, but I guess you can create a property in your table row structure of type 'TextviewDesign'.
For each row determine the right design.
Then, bind each tablecell editor of your table to this property of your context structure.
After sorting, the design should not change as data changes.
If I misunderstood you question, and you want the rows to be alternate when they are not because of sorting, you could try to create your table dynamically in wdDoModifyView.
Good luck, Roelof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.