Skip to main content Skip to footer
.NET Datagrid Control

The Most Trusted C# .NET Datagrid Control

Power your next .NET application with FlexGrid, the longest supported and most trusted C# .NET datagrid control.

  • Production-ready features like tabular data editing, sorting, filtering, and grouping
  • Take your .NET datagrid to the next level with custom cells, on-demand loading, built-in filtering, and file export
  • Supports every version of .NET from WinForms to Blazor and .NET Framework to .NET 8
Download Free Trial (2024 v2)

Explore FlexGrid in Popular .NET Platforms

A C# .NET datagrid is a feature-rich control for displaying data in a tabular format. Its various functionalities include data binding, editing, Excel-like filtering, custom sorting, aggregating rows, selection, and support for Excel, CSV, and PDF formats.

Why Choose FlexGrid as Your C# .NET Datagrid?

Familiar, Excel-Like Experience

Familiar, Excel-Like Experience

ComponentOne's .NET datagrid, FlexGrid delivers features similar to Microsoft Excel, such as cell selection and editing, so your grids will be intuitive and your end-users will be more productive.

Cross-Platform Compatibility

Cross-Platform Compatibility

The same feature-rich datagrid is supported across every .NET platform: WinForms, WPF, WinUI, UWP, Blazor, ASP.NET MVC, Xamarin, MAUI and Wijmo JavaScript.

Flexible, Extensible API

Flexible, Extensible API

Most .NET datagrids will get you 70% of the way there, but FlexGrid's superior flexibility helps developers achieve 100% of their requirements.

Great for Working With Large Data Sets

Great for Working With Large Data Sets

FlexGrid is designed to aid large data sets with features like grouping, aggregation, and on-demand loading with virtual mode supported in most platforms.

All-in-One Data Management

All-in-One Data Management

FlexGrid is primarily used for editing, visualizing, and analyzing tabular data, and is packed with features that data entry and business analysts will love.

10x Faster and Small Footprint

10x Faster and Small Footprint

FlexGrid is up to 10x faster at loading and scrolling than other C# .NET datagrids. Plus its modularized assemblies won't bloat your app with features you don't need.

.NET Datagrid Key Features

Data Bound or Unbound

Get started quickly with automatic data binding to .NET data source objects or custom business objects. FlexGrid also supports an unbound mode, giving you complete control over creating each row, column, and cell value.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin | MAUI

Custom Cells

.NET Datagrid conditional formatting

Conditional Formatting

Apply conditional formatting to highlight values that meet any criteria. FlexGrid provides a robust cell formatting API.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin

.NET Datagrid custom cells

Custom Cells

One of the main strengths of FlexGrid is the ability to customize every aspect of the appearance of the entire grid and individual cells. Easily embed sparklines, images, ratings, or any UI element in the cells.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin

.NET Datagrid cell editors

Cell Editors

ComponentOne's C# .NET datagrid, FlexGrid provides several built-in editors to enable efficient in-cell editing for numbers, dates, checkboxes, and data-mapped combo-boxes. Or use any control to provide a custom editor.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin

Virtual Mode

Improve performance and reduce load times for very large data sets with on-demand loading, where data is only retrieved as the user scrolls. This feature is also known as "just-in-time data loading" and is supported in FlexGrid through the DataCollection component.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin

.NET Datagrid Filtering

.NET Datagrid filtering

Excel-like Filtering

Enable filtering on any column's data by condition or value. FlexGrid supports drop-down filters in the column headers like Microsoft Excel with special filter editors for different data types.

Learn More: WinForms | WPF | UWP | ASP.NET MVC | Xamarin

.NET Datagrid searching

Searching

FlexGrid allows you to perform full-text filtering, or searches, on your data to show all matching instances found in the grid. Search the entire grid or just a specific column and then highlight all matching occurrences.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin

C# Datagrid filter row

Filter Row

Display a traditional filter row at the top of the C# .NET datagrid to allow filtering on multiple columns.

Learn More: WinForms | WPF | WinUI | ASP.NET MVC | Xamarin

TreeGrid

FlexGrid is so flexible that it can be used as a super-advanced TreeView. As a "TreeGrid", you can add hierarchical grouping to display data in a tree-like structure, complete with summaries, multiple columns, sorting, editing, and everything else you get from a rich .NET datagrid.

Learn More: WinForms | WPF | UWP | ASP.NET MVC

Additional Features

Multi-Column Sorting

Multi-Column Sorting

FlexGrid supports sorting, ascending, and descending, by clicking on the column headers. It also supports sorting by multiple columns.

Column Bands

Grouping and Summaries

Group data in FlexGrid to organize and analyze data more precisely. Customize the text displayed in header rows. FlexGrid can also aggregate the data to display summarized information for each group.

Detail Row

Detail Row

Drill into a row of data to show more details inside a collapsible panel. You can display an input form, a child data grid, or anything else within the detail row.

Column Reordering

Column Reordering

FlexGrid allows users to modify the column order by dragging and dropping their headers. Save and persist the layout for future runs of the application.

Cell Merging

Cell Merging

ComponentOne's C# .NET datagrid FlexGrid supports content-driven cell merging. This allows you to merge matching adjacent cells across columns and down rows. Merge header cells, create custom cell merging rules, and set restrictions on how FlexGrid merges cells.

Column Resizing

Adaptive Column Sizing

FlexGrid allows you to specify column sizing in code, as well as allow users to resize columns at runtime. Additionally, columns can be set to proportionally fill the space (also known as "star sizing").

Freezing

Freezing and Pinning

FlexGrid offers Excel-like row and column freezing and pinning. This allows users to keep rows and columns in view as they navigate the content of the datagrid. The difference is pinning allows any column to be frozen.

Right-To-Left

Selection

Get Excel-like cell selection across rows and columns. Configure the selection mode per your requirements. FlexGrid also has mobile selection solutions such as intuitive touch support and checkbox support.

Hover Styles

Hover Styles

Highlight cells as the end-user hover over them with the mouse. Configure the hover cell style to appear over single cells, entire rows, or entire columns.

Hierarchical Data Binding

Hierarchical Data Binding

View hierarchical data through both a master-detail model and through the use of row details. Drill down into data by displaying it in an additional or nested FlexGrid.

Live Updates

Live Updates

Create live datagrid displays and dashboards with automatic updates. Show stock prices and other rapidly updating information in your datagrid.

Globalization

Globalization

Handle Arabic, Hebrew, and other right-to-left languages with the globalized FlexGrid. You'll not only be able to select the language that FlexGrid uses to display its data, but also format how it displays dates and numbers.

Add New Row

Add a new row to the database with a tap or click. Adding a blank row to the .NET datagrid allows users to add more rows of data.

Validation

Validation

Validate data entry with built-in formatting and error detection, or use unobtrusive validation to validate as the user types.

Paging

Paging

To improve performance you can enable paging rather than vertical scrolling. Set page length and scroll ahead or back to pages using the data pager control.

Import & Export To Excel

Import & Export to Excel

If your business relies on Excel for data management, you can use FlexGrid to both import XLSX files, as well as export your FlexGrid data into an XLSX file to view in Excel. Choose how to preserve formatting. You can also export only selected data.

Export To PDF

Export to PDF

FlexGrid supports exporting content with formatting to PDFs using our PDF DocumentSource component. This allows you to export the datagrid as a quick and easy report.

Printing

Printing

FlexGrid lets you print the grid and perform various basic and advanced print settings using its built-in methods and properties. Plus, our special PrintDocument component enables advanced printing techniques.

.NET Datagrid Supported Platforms

WinForms Datagrid

  • Use the Search Panel control to search the data displayed in the grid
  • Quickly group and aggregate the grid using the Subtotal method
  • Rich design-time support with Smart Tags for quick configuration of column, styles, and editors
  • Integrate Sparklines into your grids
Learn More

WPF Datagrid

  • Designed with UI virtualization and cell recycling for optimal performance
  • Innovative, internal XAML styling means you can customize the brushes without having to customize control templates
  • Columns can be defined and bound to directly in XAML following MVVM design practices
  • Extensive filtering features for every scenario
Learn More

WinUI Datagrid

  • Star-sizing for columns supports dynamic column widths
  • On-demand loading for optimal performance
  • Inspired by modern, fluent design patterns
  • Same exact API as WPF and Blazor for cross-platform scalability
Learn More

ASP.NET MVC Datagrid

Learn More

Blazor Datagrid

  • Developed natively for optimal performance in Blazor Server and WebAssembly applications
  • Advanced features for a new platform such as on-demand loading, custom cells, and built-in editor controls
  • Responsive column layouts so the grid fits nicely on any sized device
Learn More

Wijmo JavaScript Datagrid

  • Small footprint (less than 150 KB) and no dependencies
  • Framework-agnostic, and supports Angular, AngularJS, React, and Vue
  • Written in TypeScript, with full Visual Studio IntelliSense
  • Virtualize DOM
  • Data bind millions of records
Learn More

UWP Datagrid

  • Data bind to anything that implements IEnumerable or bind directly to a list of objects in XAML
  • Checklist mode enables you to make non-contiguous selections in FlexGrid
  • Output your FlexGrid directly to any printer
  • Visually optimized for Windows 10 apps
Learn More

Xamarin & MAUI Datagrid

  • Designed for mobile-first apps with column reordering by touch gestures
  • Effortless cell selection and column resizing with touch-friendly drag adorners
  • Inline cell editing or provide input forms
  • Adaptive column layouts for any size device eliminates horizontal scrolling
Learn More

ActiveX Datagrid

  • VSFlexGrid includes full 64-bit support
  • Choose from several binding formats: ADO/OLEDB, DAO, bind to 2-D or 3-D arrays, to other VSFlexGrid controls, or create your own data source classes
  • Connect your grid to a Variant array or to a custom, self-developed data source
  • Create hierarchical summaries of your data with the Subtotal method
Learn More

.NET Datagrid Demos

Desktop Demo Explorer

All of our WinForms and WPF demos are included in a single downloadable desktop explorer. Explore every feature and showcase demos for FlexGrid.

Download Demo Explorer
FlexGrid ASP.NET MVC Demos

FlexGrid ASP.NET MVC Demos

Explore every FlexGrid feature and showcase demos right in your browser. Configure key properties and see what our .NET datagrid can do for your ASP.NET MVC applications.

View Demos
Blazor Server Explorer

Blazor Server Explorer

Explore every FlexGrid key feature for Blazor including data binding, column reordering, data virtualization and more. A WebAssembly demo is also available.

View Demos

ComponentOne Customer Feedback and Awards

Five Star Rating

"Prompt responses, quality feedback, and help with code examples. Fantastic service!"

RICHARD HERBERT

Five Star Rating

"Excellent product with good support"

MIKE WEBSTER

Five Star Rating

"I am very appreciative of the effort your entire team gave to make this transaction happen. Thank you for your efforts!"

SAM COLE

ComponentSource Award 2023 #2 Publisher ComponentSource Award 2024 Top 25 Product
Microsoft

"When I run into complex problems, I turn to my ComponentOne Studio Enterprise toolbox."

KEN SPENSER, MICROSOFT REGIONAL DIRECTOR - FRAMEWORK MASTERS

"I love to use C1 components! I can be confident that if I need to do a particular task, ComponentOne will have the control to do the job."

SILV SORDELLO, SOFTWARE DEVELOPER

Microsoft

"As an ISV, I need tools that allow me to be competitive. Therefore, it's a must to use reliable and stable tools for customized solutions...ComponentOne provides all that to me and even more!"

DENNIS WALLENTIN, MICROSOFT MVP (EXCEL)

"Easier to use right off the bat. I liked using the Scheduler for drag-and-drop capability."

MICHELLE GIBSON, SOFTWARE ENGINEER

Trusted by the World's Leading Companies