Crosstab/Table support for RTL direction

2 posts, 0 answers
  1. Abdul Rahman
    Abdul Rahman avatar
    1 posts
    Member since:
    Feb 2015

    Posted 14 Mar 2015 Link to this post


    First of all I am posting this question because mostly all other questions related to the issue are kind of not uptodate.
    I need to deliver reports those support both English/Arabic languages, which needs support for RTL direction,
    to elaborate: if I have a table with three columns ProductID, ProductName, ProductPrice, I hope to get them in reverse order for Arabic language (ProductPrice, ProductName, ProductID)
    would anybody please help me with this issue, is there a way to adjust the report layout to flow in RTL direction, I don't just need that for Table reports,
    I also need it for Crosstab reports
    I understand there is a limitation in RTL support, but would this be overcomed in the near future?

  2. Stef
    Stef avatar
    3610 posts

    Posted 17 Mar 2015 Link to this post

    Hi Abdul,

    The requested feature is not supported. You will need to change the order of columns in the Table item's template. For example you can use the following approaches:
    1. Restructure the Table item template at run-time, after detecting the current culture and before displaying the report.
      For example:
      var report = new MyReport();
      var isRTLculture = GetCulture();
          var table = report.Items.Find("table1",true)[0] as Telerik.Reporting.Table;//this is a an approach for accessing items
      reportViewer1.ReportSource = new InstanceReportSource { ReportDocument = report};

    2. Via expressions in the report. Use expressions and/or user functions to set the TextBox items' Value properties. Thus you can control which field will be displayed.
      For example : "=IIf(Parameters.ParameterIsRTL=True,Fields.Col3,Fields.Col1)"

    Feel free to describe the use case in a feature requested that can be submitted in our public feedback portal. Features are considered for implementation based on the demand for them.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top