I am using an object collection bound to the XamDataGrid that has a dateTime property.When I drag the datetime column/property to the group header, the grid groups all records into a single group of 'Older'
Is this a problem with the grid or the way I am using it?Any help would be appreciated.
Hi sca tone,
You can control this behavior via the GroupByMode property of FieldSettings. The behavior you currently observe is the Outlook style for grouping by DateTime fields. You can set this property to a built-in group-by evaluator to change the default grouping logic. The DataPresenter controls provide a few commonly used ones.
Hope this helps.
I've managed to change each date field to use the Date GroupByMode as you suggested and it works a dream.<igDP:Field Name="Value"> <igDP:Field.Settings> <igDP:FieldSettings GroupByMode="Date" /> </igDP:Field.Settings> </igDP:Field> Is there a way to change the default date grouping, to use the Date instead of OutlookDate for ALL my date fields?I use the grids throughout my application and I would like to use a resource file to change the default behaviour.