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

[Solved] RadGird Grouping

3 Answers 135 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 09 Jul 2009, 12:58 PM
hi

I am able to do grouping following your online example which is group by date

http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx

however, i do not want to see or display the "Received from date:",  I just want to display the date only.

How do i go about it? thanks

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 09 Jul 2009, 03:10 PM
Hello Lui,

Please try the following approach:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    if (e.Item is GridGroupHeaderItem) 
    { 
        TableCell dataCell = (e.Item as GridGroupHeaderItem).DataCell; 
        dataCell.Text = dataCell.Text.Replace("Received from date:"""); 
    } 

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
L
Top achievements
Rank 1
answered on 09 Jul 2009, 04:14 PM
is there a way to collapse by default and only when i need to expand then i will click the + symbol and also how to i make the group font larger. I tried using the properties but no effect. Thanks
0
Shinu
Top achievements
Rank 2
answered on 10 Jul 2009, 05:41 AM
Hi Lui,

Check out the following help article which explains how to Collapse all items on grouping.
Collapse all items on grouping

You can set the font size for the GridGroupHeader as shown below.

ASPX:
 
       <MasterTableView  GroupHeaderItemStyle-Font-Size="Larger"  > 


Shinu
Tags
Grid
Asked by
L
Top achievements
Rank 1
Answers by
Daniel
Telerik team
L
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or