Alternate colors to the table in the report

10 posts, 0 answers
  1. Sony Telkar
    Sony Telkar avatar
    14 posts
    Member since:
    Oct 2012

    Posted 22 Jul 2009 Link to this post

    Hi,

    I have a table control on my report. I want to have alternative rows applied two different colors.
    I dont find any properties or style for this.
    Please help

    Thanks
    Sony
  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 22 Jul 2009 Link to this post

    Hello Sony,

    The approach from this KB article:Displaying data with alternating-style rows is completely valid for the table item as well. However you need to set the conditional formatting rule to all textbox items in the table cells and not to a row group or table row.

    Regards,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Sony Telkar
    Sony Telkar avatar
    14 posts
    Member since:
    Oct 2012

    Posted 23 Jul 2009 Link to this post

    Worked for me.

    Many thanks
    Sony
  4. SIlvia
    SIlvia avatar
    25 posts
    Member since:
    Apr 2009

    Posted 09 Oct 2009 Link to this post

    the article is not available, why???
  5. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 09 Oct 2009 Link to this post

    Hello SIlvia,

    We’ve made reorganization of the reporting KB section and that is why the URL has changed. Our advise is to go to KB main page (http://www.telerik.com/support/kb/reporting.aspx) where you would see ALL KB articles by default. From the right hand side pane, you can navigate to a specific category and locate whichever KB article you’re looking for.

    Sincerely yours,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 11 Oct 2009 Link to this post

    yes, i was searching for it too :)
    here its new link , http://www.telerik.com/support/kb/reporting/customization-tip/displaying-data-with-alternating-style-rows.aspx
  7. Karlkim Suwanmongkol
    Karlkim Suwanmongkol avatar
    41 posts
    Member since:
    Aug 2012
  8. moftol
    moftol avatar
    17 posts
    Member since:
    Feb 2008

    Posted 20 Jan 2013 Link to this post

    Hi,

    i want to apply alternating row color on table item in telerik reporting, i read all the examples, but it is still not working.
    I select the table item in the report and apply conditional formatting on it as discussed in the documentation but it is not working.
    Quick and to the point response will be appreciated,
  9. José Miguel Herrera G
    José Miguel Herrera G avatar
    2 posts
    Member since:
    Nov 2019

    Posted 06 Nov Link to this post

    After searching and searching because RowNumber() is returning always 1, I managed it by adding the next ConditionalFormatting rule:

     

    "= RunningValue("table1",Sum(1)) Mod 2"  "<>"  "0"

     

    as shown in the attached screenshot.

     

    Finally select a different style for that rule.

     

    I hope it this will help you :)

  10. Peter
    Admin
    Peter avatar
    1665 posts

    Posted 11 Nov Link to this post

    Hi Jose,

    I am not sure why the RowNumber function is not working on the used table setup, the most probable reason is the change of the data scope due to the used table groups. For for more information on the RowNumber functionality see:  Data Functions help article.

    Regards,
    Peter
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top