# bogdan/datagrid

Gem to create tables grids with sortable columns and filters

Repository: https://github.com/bogdan/datagrid
Canonical: https://ross.abutalabs.com/products/datagrid
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, gem, tableview, table, activerecord, rails, mongoid, grid
Last push: 2026-07-15T09:36:22+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 92, release rhythm 16, longevity 100
- inputs: {"age_days": 5560, "days_push": 49, "days_rel": 422, "gap_med": 100.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1111, forks 112 (observed 2026-08-28T04:03:37.669533+00:00)

## What it is
A Ruby gem for building data grids and reports with sortable columns, filters, and CSV export. It supports multiple ORMs including ActiveRecord, Mongoid, MongoMapper, Sequel, and plain arrays, and integrates with Rails views.

## Use cases
- build admin panel tables with filtering and sorting in Rails
- generate CSV reports from ActiveRecord or Mongoid data
- create filterable data browsers for database records
- add sortable columns to a Rails index view
- build analytics report pages with user-defined filters
- query and tabulate in-memory arrays with a grid DSL

## When to choose
- you are on Rails or another Ruby web app and need filterable, sortable report tables
- you need ORM-agnostic grid definitions across ActiveRecord, Mongoid, Sequel, or arrays
- you want built-in CSV export and localization for tabular reports

## When to avoid
- you need a full JavaScript datagrid with client-side virtualization and editing
- your project is not Ruby/Rails based
- you only need simple static tables without filtering or sorting

## Facets
- artifact type: library
- maturity: active
- function: search-engine, data-visualization, serialization, web-framework
- domain: web-development, backend, data-visualization, developer-tools
- platform: ruby
- tags: rails, activerecord, mongoid, datagrid, reporting, admin-panels, csv-export, sortable-tables, filters, web-server

## Member repositories
- bogdan/datagrid (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.669533+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:43:22.734604+00:00, confidence not recorded.
  - readme: https://github.com/bogdan/datagrid (fetched 2026-08-28T04:03:37.669533+00:00, sha 332a0575ccce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
