Skip to Content

Zebro row affect for cTable

Anyone know how to add the "zebra" affect to a cTable element like you can do with the ALV table (alternate row shading)?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 06, 2014 at 06:17 PM

    Hi,

    There is no provision to automatically have an Alternate shading for CTable like in Table UI. You have to individually bind the 'celldesign' property of each CTable Column and then loop the table data and assign the color to alternate rows to each CTable Column.

    Hope this helps u,

    Regards,

    Kiran

    Add a comment
    10|10000 characters needed characters exceeded

    • Haha 😊 Ya. But, it's due to the fact that Client Table is not just another Table UI but you can create different cell editors ( cell variants) and it's complex for the framework to apply design for all the columns.

      So, while designing we have to choose which columns we have to apply cell design.

      Cheers,

      Kiran

  • Posted on Jan 06, 2014 at 04:07 PM

    Hi ,

    Please follow the below step to achive the 'ZEBRA' affect.

    1. Change the ‘Design’ property of Table to ‘Alternating’

    2. Mark the table as ‘Read-only’

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.