Report Globalization

9 posts, 0 answers
  1. aabdan
    aabdan avatar
    26 posts
    Member since:
    Apr 2007

    Posted 03 May 2008 Link to this post

    hello,
    i see demo of report globalization it's look fine, but i  would like to ask about
    if the report columns can be reordered from LTR to RTL when i change language from english to arabic as an example.
    e.g if order of columns in english report layout as ProductNo,ProductDescreption then when i change to arabic the order will be
    ProductDescription,ProduactNo.
    and ii would ask if i can change columns header (ProductNo,ProductDescription) to proper language like arabic

    Thanks and best regards
  2. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 05 May 2008 Link to this post

    Hello LPW,

    Localization of the reports refers to the text in TextBox report items rather than the report layout. If you wish to rearrange the report layout for a specific culture you will have to make a new report.

    More about the report localization you can read from the Localizing Reports article.

    Kind regards,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
  4. aabdan
    aabdan avatar
    26 posts
    Member since:
    Apr 2007

    Posted 06 May 2008 Link to this post

    Dear Chavdar,
    i want to ask if you will do it in near future, because our requirements to enable user to select the language from same report

    Kind regards,
    Ahmad 
  5. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 07 May 2008 Link to this post

    Hi LPW,

    We will log your request and consider including it in a future version. Unfortunately at this moment we could not engage ourselves with a particular time frame for this task.

    Sorry for the temporary inconvenience. Do let us know if you have other questions.

    Best wishes,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Fatima Mohey
    Fatima Mohey avatar
    12 posts
    Member since:
    Sep 2009

    Posted 22 Oct 2009 Link to this post

    is this feature (changing report layout direction due to culture) still not supported?!!!
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Oct 2009 Link to this post

    Hello Fatima,

    Unfortunately we have not been able to work on that feature as of yet due to other pending features/issues and we cannot state a particular version or Q when it would be part of the product. Once we start working on this feature, it would be part of the Reporting RoadMap.

    Kind regards,
    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.
  8. Sebastien AUROUX
    Sebastien AUROUX avatar
    34 posts
    Member since:
    Sep 2008

    Posted 29 Apr 2011 Link to this post

    After one year and half, do have a more precise idea of when you ll support right to left in telerik reporting ?
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 May 2011 Link to this post

    Hello Sebastien,

    As stated in previous reply, we cannot engage with a time frame and once we start working on this task, it would be duly noted in our Roadmap.

    Greetings,
    Steve
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  10. Ashraf Sabry
    Ashraf Sabry avatar
    88 posts
    Member since:
    Jan 2011

    Posted 25 Aug 2014 Link to this post

    Reversing table columns order can be done easily using the report objects API.

    Here's an extension method I wrote to reverse columns order for switching between RTL and LTR:

    public static class TableExtensions
        {
            public static void Reverse(this Table instance)
            {
                var tableBody = instance.Body;
                var rowsCount = tableBody.Rows.Count;
                var columnsCount = tableBody.Columns.Count;
                var columnsHalfCount = columnsCount / 2;
                 
                columnsCount--;
                 
                for(int rowIndex = 0; rowIndex < rowsCount; rowIndex++)
                {
                    for(int columnsIndex = 0; columnsIndex < columnsHalfCount; columnsIndex++)
                    {
                        var cell = tableBody[rowIndex, columnsIndex].ReportItem;
                        var alternateCell = tableBody[rowIndex, columnsCount - columnsIndex].ReportItem;
     
                        tableBody.SetCellContent(rowIndex, columnsIndex, alternateCell);
                        tableBody.SetCellContent(rowIndex, columnsCount - columnsIndex, cell);
                    }
                }
     
                var reversedGroups = instance.ColumnGroups.Reverse().ToList();
     
                instance.ColumnGroups.Clear();
     
                foreach(var item in reversedGroups)
                    instance.ColumnGroups.Add(item);
            }
        }
Back to Top
DevCraft banner