Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
GroupBy DateTime field.
posted

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. 

Parents
No Data
Reply
  • 3520
    Verified Answer
    Offline posted

    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.

Children