Skip to content

enhancement: replace table with AG Grid for editing, search, and filtering #9

Description

@PriyeshPandey2000

Summary

Current transaction table is a basic HTML table — readable but no interactivity. Replace with AG Grid Community Edition for a proper spreadsheet-like experience.

Why AG Grid

  • Built-in: column filters, global search, inline cell editing, sorting, column resize/reorder, row virtualization
  • Community Edition is free, no commercial restrictions
  • Used in fintech dashboards — matches CA/accountant audience
  • Bundle size irrelevant in Electron

When to add

When users ask to edit/correct values before exporting CSV, or want to filter/search transactions inline. Not needed while CSV output is the primary value.

Implementation notes

  • npm install ag-grid-react ag-grid-community in desktop/
  • Replace <table> block in App.tsx with <AgGridReact rowData={allTx} columnDefs={...} />
  • Works with both direct mode (rawValues) and LLM mode (date/narration/debit/credit/balance)
  • columnDefs derived from headers array already computed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions