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

GroupByExpressions missing in properties?

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 2
Steven asked on 17 Dec 2008, 04:02 PM
I just watched some trainer videos on the grid trying to familiarize myself with the possibilities of the grid. In the one on grouping it says and shows you can set the GroupByExpressions collection in the properties window to make sure a group by is set already when rendering the grid so the user doesn't have to do this.

However there is no such property in my properties window. In the property builder there is a property GroupByExpression for each column but this doesn't have any effect when I set this to "Parent" or "Group By Parent" like I need to in my case.

I managed to get this functionality working though by typing in by hand in the aspx code:
<GroupByExpressions> 
     <telerik:GridGroupByExpression> 
       <SelectFields> 
          <telerik:GridGroupByField 
            FieldName="Parent" 
            HeaderText="Parent"/> 
       </SelectFields> 
       <GroupByFields> 
          <telerik:GridGroupByField 
             FieldName="Parent" /> 
       </GroupByFields> 
     </telerik:GridGroupByExpression> 
   </GroupByExpressions> 

So it working, however I cannot find it in the UI of the grid nor the properties window.
here is a screenshot: http://212.123.29.43/Content/GroupByExpression.jpg

Can you tell me what I am missing? (using the latest version 2008.3.1125)

1 Answer, 1 is accepted

Sort by
0
Steven
Top achievements
Rank 2
answered on 17 Dec 2008, 04:41 PM
Never mind this. Looks like its time for me to catch some fresh air.
I didn't double check and actually didn't expand the MasterTableView where it is located. My bad.
Tags
Grid
Asked by
Steven
Top achievements
Rank 2
Answers by
Steven
Top achievements
Rank 2
Share this question
or