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

Group column width

1 Answer 12 Views
Grid
This is a migrated thread and some comments may be shown as answers.
pedrotti
Top achievements
Rank 1
pedrotti asked on 16 Oct 2014, 02:01 PM
Hello

I 've done the possibility at users to group by column (client mode)
That work very fine, but my column is,very large

My grid is 100 % width and all of my column are in %

Tank  you for your help

Annz

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 21 Oct 2014, 10:54 AM
Hi Annz,

You can change the group column width on ColumnCreated server-side event as shown below:
protected void RadGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
    if (e.Column is GridGroupSplitterColumn)
    {
        e.Column.HeaderStyle.Width = Unit.Percentage(5);
    }
}

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
pedrotti
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or