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

Kendo UI Grid Right-to-Left

2 Answers 115 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mehran
Top achievements
Rank 1
Mehran asked on 18 Oct 2012, 07:22 AM
Hi,

I am going to use a Kendo UI Grid, in an Persian .aspx web page, so I must use it in right-to-left format.
When placing the grid in the right-to-left page, the grid content (rows data) is shown correctly (in right-to-left format), but unfortunately, the grid header is still shown in left-to-right.

Now, the question is that: How can I align the Kendo UI grid header to right-to-left form?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 26 Oct 2012, 01:41 PM
Hello,

Please try with below code snippet.

#example .k-header {
    
    text-align: right !important;
}

example is your DIV's (which was contain your kendo grid) id.

If we do not use this ID then it will applied to all.

Thanks,
Jayesh Goyani
0
Mehran
Top achievements
Rank 1
answered on 28 Oct 2012, 04:16 AM
Thank you very much dear Jayesh.
Tags
General Discussions
Asked by
Mehran
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Mehran
Top achievements
Rank 1
Share this question
or