ui-grid-egui
Native egui widget adapter for the @ornery/ui-grid angular grid pipeline. Drop-in data grid with sorting, filtering, grouping, cell editing, tree view, pagination, row selection, and 100K+ row virtualization.
Usage
[]
= "0.1"
= "0.1"
use ;
use ;
// Create the grid once
let mut grid = new;
let theme = DefaultDark.build;
let mut column_ext: = vec!;
// Each frame, inside your egui UI:
grid.show;
Custom cell formatters / renderers / editors
let ext = vec!;
Demo
Building the demo locally
Prerequisites: Rust 1.95+
The demo app showcases:
- Column sorting (click header), filtering (type in filter row), and grouping
- Column pinning (left/right) with synchronized vertical scrolling
- Drag-and-drop column reordering
- CSV export (default and custom formatters)
- Save/restore state (JSON serialization and deserialization)
- Custom cell renderers (status pills, currency formatting, boolean checkboxes)
- Cell editing via double-click or Enter, including a date picker widget
- Tree view with expandable/collapsible rows
- Theme switching (4 built-in presets)
- Smooth scrolling with 100K+ row virtualization
License
MIT