Datagrid missing inside carousel view

I have a carousel view that is showing multiple datagrids that the user can swipe through. However, when the carousel view is set to loop, all of the datagrids eventually disappear. When the carousel view is not set to loop, one of the datagrids is missing. The other controls in the data template remain (eg. labels) however the datagrids do not. Any idea what might cause this? I have tried many different kinds of datagrids (with different properties active, settings, etc) but nothing has fixed the issue.

Here is a snippet from the code:


 <tabView:SfTabView>
        <tabView:SfTabView.Items>
            <tabView:SfTabItem Header="Period">
                <Grid ColumnDefinitions="*" RowDefinitions="*, 40">
                    <CarouselView ItemsSource="{Binding TimePeriod0Tables}" IndicatorView="indicator" Loop="False">
                        <CarouselView.ItemTemplate>
                            <DataTemplate x:DataType="model:TableContainer">
                                <Grid RowDefinitions="40, *">
                                    <Label Text="{Binding Title}"
                                       HorizontalTextAlignment="Center"
                                       VerticalTextAlignment="Center"
                                       FontSize="18"
                                           Margin="0, 15, 0, 0"/>
                                    <syncfusion:SfDataGrid ItemsSource="{Binding TableData}"
                                                           Grid.Row="1"
                                                           DefaultColumnWidth="100"
                                                           MaximumWidthRequest="350"
                                                           HorizontalOptions="Center"
                                                           GridLinesVisibility="Both"
                                                           AutoGenerateColumnsMode="None"
                                                           DefaultStyle="{Binding Style}"
                                                           QueryRowHeight="DataGridQueryRowHeight">

3 Replies

KK Karthikraja Kalaimani Syncfusion Team July 27, 2022 11:48 AM UTC

Hi Adlar,

We are able to replicate the issue “DataGrid is not visible in CarouselView in Android platform”. Currently, we are validating the issue in our side. We will validate and update you with the further details on or before 29th July 2022. We appreciate your patience until then.

Regards,
Karthik Raja



KK Karthikraja Kalaimani Syncfusion Team July 29, 2022 11:58 AM UTC

Hi Adlar,

We have analyzed the reported issue “DataGrid is not visible when swipe through in CarouselView” and we figured that the binding context for DataGrid is set to null while swiping the items. So, it causes to not creating the DataRows in the .Net Maui Android. This issue will be resolved in our 2022 Volume 2 SP release which is planned to roll out on mid of August 2022. We appreciate your patience until then.

Can you please confirm whether you are facing this issue in Android platform alone?


Regards,
Karthik Raja



KK Karthikraja Kalaimani Syncfusion Team August 9, 2022 06:16 AM UTC

Hi Adlar,

We are glad to announce that our Essential Studio 2022 Volume 2 service pack Release V20.2.0.43 is rolled out and is available for download under the following link.


https://www.syncfusion.com/forums/176701/essential-studio-2022-volume-2-service-pack-release-v20-2-0-43-is-available-for-download


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,
Karthik Raja

Loader.
Up arrow icon