0

I'm trying to develop a CollectionView with a sorting function to help the user to find the record easily through lot of records. And I want to Implement this without any UI libraries. For an example my data set have date set and I want to sort the data set according to a given condition

<CollectionView VerticalOptions="FillAndExpand" 
                        IsGrouped="True" 
                        ItemsSource="{Binding Employees}">
            
            <CollectionView.ItemTemplate>
                <DataTemplate x:DataType="models:LeaveHistoryModel">
                    <Label Text="{Binding  FromDate}" />

                </DataTemplate>
            </CollectionView.ItemTemplate>
</CollectionView>

0 Answers0