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

column header text and filter button is overlapped.

2 Answers 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 22 Aug 2014, 04:16 AM
Column header text and filter button is overlapped if column text is right alignment.

how to avoid it?

2 Answers, 1 is accepted

Sort by
0
Jacky
Top achievements
Rank 1
answered on 22 Aug 2014, 04:16 AM
screenshot
0
Stefan
Telerik team
answered on 22 Aug 2014, 11:05 AM
Hi Jacky,

Thank you for writing.

I managed to reproduce the described case and I can confirm it is an issue. I have logged it in our feedback portal. You can add your vote and subscribe for status updates here: http://feedback.telerik.com/Project/154/Feedback/Details/136288-fix-radgridview-setting-the-header-text-to-be-right-aligned-will-overlap-the-f

Your Telerik Points have been updated for this report. 

As a work around I can suggest setting the RightToLeft property of the desired header cells, in order to move the filtering button to the other end:
void radGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
    GridHeaderCellElement headerCell = e.CellElement as GridHeaderCellElement;
    if (headerCell != null && e.Column.Name == "DecimalColumn")
    {
        headerCell.RightToLeft = true;
    }
}

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Jacky
Top achievements
Rank 1
Answers by
Jacky
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or