akgul.Maui.DataGrid 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package akgul.Maui.DataGrid --version 1.0.2                
NuGet\Install-Package akgul.Maui.DataGrid -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="akgul.Maui.DataGrid" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add akgul.Maui.DataGrid --version 1.0.2                
#r "nuget: akgul.Maui.DataGrid, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install akgul.Maui.DataGrid as a Cake Addin
#addin nuget:?package=akgul.Maui.DataGrid&version=1.0.2

// Install akgul.Maui.DataGrid as a Cake Tool
#tool nuget:?package=akgul.Maui.DataGrid&version=1.0.2                

Maui.DataGrid

DataGrid Library for Maui Applications.

You can install the package from NuGet Package Manager (akgul.Maui.DataGrid)

Supported Platforms

  • Android
  • iOS
  • Windows
 xmlns:dg="clr-namespace:Maui.DataGrid;assembly=Maui.DataGrid"
 xmlns:conv="clr-namespace:Maui.DataGrid.Sample;assembly=Maui.DataGrid.Sample"

<dg:DataGrid ItemsSource="{Binding Teams}" SelectionEnabled="True" SelectedItem="{Binding SelectedTeam}"
             RowHeight="70" HeaderHeight="50" BorderColor="{StaticResource GridBorderColor}"
             HeaderBackground="{StaticResource GridHeaderBgColor}"
             PullToRefreshCommand="{Binding RefreshCommand}" IsRefreshing="{Binding IsRefreshing}"
             ActiveRowColor="{StaticResource ActiveRowColor}">
    <dg:DataGrid.Columns>
        <dg:DataGridColumn Title="Logo" PropertyName="Logo" Width="150" SortingEnabled="False">
            <dg:DataGridColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding}" HorizontalOptions="Center" VerticalOptions="Center"
                           Aspect="AspectFit" HeightRequest="60" />
                </DataTemplate>
            </dg:DataGridColumn.CellTemplate>
        </dg:DataGridColumn>
        <dg:DataGridColumn Title="Team" PropertyName="Name" />
        <dg:DataGridColumn Title="Win" PropertyName="Win" />
        <dg:DataGridColumn Title="Loose" PropertyName="Loose" />
        <dg:DataGridColumn PropertyName="Home">
            <dg:DataGridColumn.FormattedTitle>
                <FormattedString>
                    <Span Text="Home" TextColor="Black" FontSize="13" FontAttributes="Bold" />
                    <Span Text=" (win-loose)" TextColor="#333333" FontSize="11" />
                </FormattedString>
            </dg:DataGridColumn.FormattedTitle>
        </dg:DataGridColumn>
        <dg:DataGridColumn Title="Percentage" PropertyName="Percentage" StringFormat="{}{0:0.00}" />
        <dg:DataGridColumn Title="Streak" PropertyName="Streak" Width="0.5*">
            <dg:DataGridColumn.CellTemplate>
                <DataTemplate>
                    <ContentView HorizontalOptions="Fill" VerticalOptions="Fill"
                                 BackgroundColor="{Binding Converter={StaticResource StreakToColorConverter}}">
                        <Label Text="{Binding}" HorizontalOptions="Center" VerticalOptions="Center"
                               TextColor="Black" />
                    </ContentView>
                </DataTemplate>
            </dg:DataGridColumn.CellTemplate>
        </dg:DataGridColumn>
    </dg:DataGrid.Columns>
    <dg:DataGrid.RowsBackgroundColorPalette>
        <dg:PaletteCollection>
            <Color>#F2F2F2</Color>
            <Color>#FFFFFF</Color>
        </dg:PaletteCollection>
    </dg:DataGrid.RowsBackgroundColorPalette>
    <dg:DataGrid.Resources>
        <ResourceDictionary>
            <conv:StreakToColorConverter x:Key="StreakToColorConverter" />
        </ResourceDictionary>
    </dg:DataGrid.Resources>
</dg:DataGrid>

Screenshots

Screenshots

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-android31.0 is compatible.  net6.0-ios was computed.  net6.0-ios16.1 is compatible.  net6.0-maccatalyst was computed.  net6.0-maccatalyst16.1 is compatible.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows10.0.19041 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on akgul.Maui.DataGrid:

Package Downloads
DigitalProductionMauiLibrary

A collection of C# classes, utilities, and controls for .Net Maui.

ThunderUnitsMauiUI

Interface components for using the Thunder Units conversion library in .Net Maui.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on akgul.Maui.DataGrid:

Repository Stars
Strypper/mauisland
MAUIsland 🏝️ is the number 1 controls gallery for .NET MAUI
Version Downloads Last updated
4.0.5 2,357 9/17/2024
4.0.4 4,071 5/5/2024
4.0.3 760 4/18/2024
4.0.2 3,898 3/25/2024
4.0.1 4,623 1/15/2024
4.0.0 313 1/12/2024
3.0.0 4,334 7/27/2023
2.0.0 3,986 1/30/2023
1.0.2 543 1/2/2023
1.0.1 631 10/17/2022
1.0.0 453 8/19/2022