Skip to content

Smart expand/collapse controls #39

Description

@parsapanahpoor
  • Issue Title: Implement smart expand/collapse controls for JSON tree
  • Description:
    Improve the expand/collapse behavior with global controls (expand/collapse all) and a configurable default depth, so complex JSON structures remain manageable and fast to explore.
  • Tasks:
    • Add "Expand all" and "Collapse all" actions (optional UI buttons).
    • Add a parameter for default expansion depth (e.g., DefaultExpandDepth).
    • Ensure expand/collapse operations are efficient for large JSON.
    • Preserve expand/collapse state when possible (e.g., when re-rendering with same data).
    • Update documentation with examples for configuration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions