2

I have my listdefinition up and running but I would like to add something extra. I would like that the content gets sorted automatically by date. This is the column of that listdefinition.

<list:column id="DateColumn" type="data" title="{Resources:MyExtension.Strings, Date}" selector="@activitydate"
             translate="Utilities.translateDateNoTime" enablefiltering="true"
             columnfilter="value" />

So is there a way to specify that I want my content ordered by date for this column?

1 Answer 1

4
<list:rows>
    <list:defaultSortField>@activitydate</list:defaultSortField>
</list:rows>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.