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

[Solved] Merging RowIndicator with header

1 Answer 125 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dhileep Kumar Sampath
Top achievements
Rank 1
Dhileep Kumar Sampath asked on 20 Oct 2009, 03:24 PM
Hi All,
    I am using a RadGridView in my usercontrol. I dont want the RowIndicator to be appearing on my Header. I am able to achieve this by RowIndicatorVisibility = Collapsed for the header row during Row_Loaded Event but my header cells seems to be shifted to left so the header and details row alignment is not proper. Is there a way to merge the RowIndicator and First Column of the header alone so that there is no change in the alignment.

If there are any other suggestions other than merging please let me know.

Thanks,
Dhileep

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 22 Oct 2009, 03:24 PM
Hi Dhileep Kumar Sampath,

You may change the template of GridViewHeaderRow  in order to hide the border between the first cell and the rowIndicator as well as make the background color the same. I believe that visually this will be exactly what you are chasing.

The template of the Header row may be altered in  Expression Blend. You may also set it manually  via a setter in the RadGridView.HeaderRowStyle.

In case you need additional guidance just let us know.

Sincerely yours,
Pavel Pavlov
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.
Tags
GridView
Asked by
Dhileep Kumar Sampath
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or