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

<RadGrid> Grouping only more than one item

1 Answer 91 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Maciej
Top achievements
Rank 1
Maciej asked on 30 Jan 2013, 09:08 AM
Hello.
I have a problem. I'm trying to achive one thing ( as I wrote in a title ), but what I have is hard to get rid of.
Data source is gotten from a database as a list via linq. I set up groupin by expression tags
<GroupByExpressions>
    <telerik:GridGroupByExpression>
        <SelectFields>
            <telerik:GridGroupByField FieldAlias="Gmina" FieldName="NazwaOrganuProwadzacego"
                FormatString="{0:D}" />
        </SelectFields>
        <GroupByFields>
            <telerik:GridGroupByField FieldName="NazwaOrganuProwadzacego" SortOrder="Ascending" />
        </GroupByFields>
    </telerik:GridGroupByExpression>
    <telerik:GridGroupByExpression>
        <SelectFields>
            <telerik:GridGroupByField FieldAlias="Nazwa Placówki" FieldName="NazwaPlacowki" FormatString="{0:D}" />
        </SelectFields>
        <GroupByFields>
            <telerik:GridGroupByField FieldName="NazwaPlacowki" SortOrder="Ascending" />
        </GroupByFields>
    </telerik:GridGroupByExpression>
</GroupByExpressions>
And it is groupped but it's too much for me.
I made a picture of a simple table that represents of how it looks like ( "is.png" ), and how I want it to look like ( "want.png" ).

Thanks in advance for every kind of help.
Maciej.

1 Answer, 1 is accepted

Sort by
0
Maciej
Top achievements
Rank 1
answered on 31 Jan 2013, 08:38 AM
Does exist a statement in telerik library: if( volume != null ) then add to group ?
Tags
WebParts for SharePoint
Asked by
Maciej
Top achievements
Rank 1
Answers by
Maciej
Top achievements
Rank 1
Share this question
or