This is a migrated thread and some comments may be shown as answers.

[Solved] Non-scrollable grid doesn't respect RTL

2 Answers 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marat Gartsman
Top achievements
Rank 1
Marat Gartsman asked on 24 May 2010, 06:38 PM
Hello,
When using grid's RTL mode (t-grid-rtl) it works only when the grid is scrollable. If Scrollable is not called then the cells have direction=ltr. The reason is that in scrollable mode the grid renders header, content, footer. The content has ".t-grid-rtl .t-grid-content { direction: rtl }" style, which has no counterpart in non-scrollable mode.
I'm using Telerik_Extensions_for_ASPNET_MVC_2010_1_511 build.
Thank you for supporting RTL, it is rare and greatly appreciated.

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 25 May 2010, 09:48 AM
Hello Marat,

Thank you for pointing this out -- adding the following CSS solves the problem --

.t-grid-rtl tbody
{
    direction: rtl;
}


The fix is included in upcoming builds.

All the best,
Alex Gyoshev
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.
0
Marat Gartsman
Top achievements
Rank 1
answered on 04 Jun 2010, 07:49 PM
Hello,
Just wanted to point that the correct fix is:
.t-grid-rtl table
{
    direction: rtl;
}


Otherwise the header columns are reversed.



Tags
Grid
Asked by
Marat Gartsman
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Marat Gartsman
Top achievements
Rank 1
Share this question
or