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

Move Expand/Collapse of the GridGroupHeaderItem to the right

3 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 09 Feb 2013, 07:57 PM
Is there anyway I can move the GridGroupHeaderItem Expand/Collapse column to the Right?

This is what I'm trying to do:
PostImage RadGridRightGroupCol

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Feb 2013, 05:00 AM
Hi,

Try setting the following.
aspx:
<MasterTableView  Dir="RTL" ....>

Thanks,
Shinu
0
Eric
Top achievements
Rank 1
answered on 11 Feb 2013, 11:56 PM
Hello Shinu,
Thanks for the suggestion but that wasn't exactly what I was looking for,
Dir="RTL" makes the entire grid RIGHT TO LEFT
I only want the Expand/Collapse button to be on the right.
0
Shinu
Top achievements
Rank 2
answered on 12 Feb 2013, 05:39 AM
Hi,

One suggestion is that you can hide the autogenerated expand column and create your custom column.
C#:
protected void RadGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
        if (e.Column.UniqueName == "ExpandColumn")
        {
            e.Column.Display = false;
        }
}
aspx:
<telerik:GridExpandColumn ButtonType="ImageButton" CollapseImageUrl="../img.gif" ExpandImageUrl="../Image2.gif">
</telerik:GridExpandColumn>

Thanks,
Shinu
Tags
Grid
Asked by
Eric
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Eric
Top achievements
Rank 1
Share this question
or