IgniteUI.Blazor.GridLite 0.7.1

dotnet add package IgniteUI.Blazor.GridLite --version 0.7.1
                    
NuGet\Install-Package IgniteUI.Blazor.GridLite -Version 0.7.1
                    
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="IgniteUI.Blazor.GridLite" Version="0.7.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IgniteUI.Blazor.GridLite" Version="0.7.1" />
                    
Directory.Packages.props
<PackageReference Include="IgniteUI.Blazor.GridLite" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IgniteUI.Blazor.GridLite --version 0.7.1
                    
#r "nuget: IgniteUI.Blazor.GridLite, 0.7.1"
                    
#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.
#:package IgniteUI.Blazor.GridLite@0.7.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IgniteUI.Blazor.GridLite&version=0.7.1
                    
Install as a Cake Addin
#tool nuget:?package=IgniteUI.Blazor.GridLite&version=0.7.1
                    
Install as a Cake Tool

Ignite UI GridLite Blazor Wrapper

A Blazor wrapper for the Ignite UI GridLite web component, providing a lightweight and performant data grid for Blazor applications.

Features

  • 🚀 Lightweight grid component built on web components
  • 📊 Column configuration with custom headers
  • 🔄 Sorting and filtering support
  • 🎨 Multiple built-in themes (Bootstrap, Material, Fluent, Indigo) with light/dark variants
  • 🔌 Easy integration with existing Blazor applications
  • 🎯 Multi-framework support (.NET 8, 9, and 10)

Installation

Install the NuGet package:

dotnet add package IgniteUI.Blazor.GridLite

Setup

1. Add Required Services (TBD)

In your Program.cs, no special services are required. The component uses standard Blazor JSInterop.

2. Include JavaScript Module

The JavaScript bundle is automatically included via _content static files.

3. Add Theme Stylesheet

In your App.razor or layout file, include one of the available themes:


<link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css" rel="stylesheet" />

<link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/material.css" rel="stylesheet" />

<link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/fluent.css" rel="stylesheet" />

<link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/indigo.css" rel="stylesheet" />


Basic Usage

@using IgniteUI.Blazor.Controls

<IgbGridLite Data="@employees">
    <IgbGridLiteColumn Field="@nameof(Employee.Id)" Header="ID" DataType="GridLiteColumnDataType.Number" Width="100px" />
    <IgbGridLiteColumn Field="@nameof(Employee.Name)" Header="Employee Name" DataType="GridLiteColumnDataType.String" />
    <IgbGridLiteColumn Field="@nameof(Employee.Department)" Header="Department" DataType="GridLiteColumnDataType.String" />
    <IgbGridLiteColumn Field="@nameof(Employee.Salary)" Header="Salary" DataType="GridLiteColumnDataType.Number" Width="150px" />
</IgbGridLite>

@code {
    private List<Employee> employees = new();

    protected override void OnInitialized()
    {
        employees = GetEmployees();
    }
}

With Initial Sort and Filter

<IgbGridLite Data="@employees"
             SortingExpressions="@initialSort"
             FilterExpressions="@initialFilter">
    <IgbGridLiteColumn Field="@nameof(Employee.Id)" Header="ID" DataType="GridLiteColumnDataType.Number" />
    <IgbGridLiteColumn Field="@nameof(Employee.Name)" Header="Name" Sortable Filterable />
    <IgbGridLiteColumn Field="@nameof(Employee.Department)" Header="Department" Sortable Filterable />
</IgbGridLite>

@code {
    private List<IgbGridLiteSortingExpression> initialSort = new()
    {
        new() { Key = nameof(Employee.Name), Direction = GridLiteSortingDirection.Ascending }
    };
    
    private List<IgbGridLiteFilterExpression> initialFilter = new()
    {
        new() { Key = nameof(Employee.Department), Condition = "contains", SearchTerm = "Sales" }
    };
}

Advanced Configuration

Sorting

Enable sorting on specific columns:

<IgbGridLiteColumn Field="@nameof(Employee.Name)" 
                   Header="Name"
                   Sortable
                   Resizable />

Filtering

Enable filtering on columns:

<IgbGridLiteColumn Field="Department" 
                   Header="Department"
                   Filterable
                   FilteringCaseSensitive="@false" />

Event Handling

Handle sorting and filtering events:

<IgbGridLite Data="@employees"
             Sorting="@HandleSorting"
             Sorted="@HandleSorted"
             Filtering="@HandleFiltering"
             Filtered="@HandleFiltered">
    <IgbGridLiteColumn Field="Name" Sortable Filterable />
    <IgbGridLiteColumn Field="Department" Sortable Filterable />
</IgbGridLite>

@code {
    private void HandleSorting(IgbGridLiteSortingEventArgs e)
    {
        // Handle on sorting
    }

    private void HandleSorted(IgbGridLiteSortedEventArgs e)
    {
        // Handle after sort
    }

    private void HandleFiltering(IgbGridLiteFilteringEventArgs e)
    {
        // Handle on filtering
    }

    private void HandleFiltered(IgbGridLiteFilteredEventArgs e)
    {
        // Handle after filter
    }
}

Column Configuration

The IgbGridLiteColumn component supports:

  • Field: Property name to bind to (use nameof() for type safety)
  • Header: Column header display text
  • Width: Column width (CSS value)
  • DataType: Data type (String, Number, Boolean, Date)
  • Hidden: Hide column
  • Resizable: Allow column resizing
  • Sortable: Enable sorting
  • SortingCaseSensitive: Make sorting case sensitive
  • Filterable: Enable filtering
  • FilteringCaseSensitive: Make filtering case sensitive

Building from Source

Prerequisites

  • .NET 8, 9, or 10 SDK
  • Node.js (for building JavaScript bundle)

Build Steps

  1. Restore dependencies:

    dotnet restore
    
  2. Build project:

    dotnet build
    

The build process (configured in IgniteUI.Blazor.GridLite.csproj) automatically:

  • Installs npm dependencies
  • Builds the JavaScript bundle using Vite
  • Copies theme files to wwwroot

Demo Application

A demo application is available in demo/GridLite.DemoApp/ showcasing various grid features and configurations.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.1 568 4/29/2026
0.6.0 216 3/4/2026
0.4.0 129 2/2/2026
0.4.0-beta7 111 2/2/2026
0.4.0-beta1 118 1/21/2026
0.0.1 259 11/26/2025