ZAXamTable is a free project to create datatable more easier. This part is in .xaml. <Grid Grid.Row="3" x:Name="ZATable" HorizontalOptions="CenterAndExpand" Padding="10,30,10,0"> <Grid.RowDefinitions> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> </Grid.RowDefinitions> <Grid Grid.Row="0" x:Name="ZAHeader" BackgroundColor="LightBlue"/> <ScrollView Grid.Row="1" Orientation="Vertical" HeightRequest="400"> <Grid x:Name="ZASource" /> </ScrollView> </Grid> This is in xaml.cs example. var listZAHeaders = new List<ZAHeaders>(); var listZASources = new List<ZASources>(); #region declaration headers. var header1 = new ZAHeaders("Header 1", new ZAPosition(0, 0)); var header2 = new ZAHeaders("Header 2", new ZAPosition(0, 1)); var header3 = new ZAHeaders("Header 3", new ZAPosition(0, 2)); listZAHeaders.Add(header1); listZAHeaders.Add(header2); listZAHeaders.Add(header3); #endregion #region declaration sources. for(int i = 0; i < 50; i++) // Rows { for(int j = 0; j < 3; j++) // Columns { listZASources.Add(new ZASources("Data " + (i+1), new ZAPosition(i, j))); } } #endregion ZAHeader.ToHeader(listZAHeaders); ZASource.ToSource(listZASources);
$ dotnet add package ZAXamTableNo README available.