SelectoComponents.Form.EventHandlers.DrillDown (selecto_components v0.4.5)

Event handlers for drill-down operations.

This module handles drill-down events that allow users to navigate from aggregate or graph views to detailed views with contextual filters:

  • Clicking on aggregate values to see underlying records
  • Clicking on graph elements (bars, points, etc.)
  • Creating filters based on the clicked context

imported-by

Imported by

This module is automatically imported when using SelectoComponents.Form.

events-handled

Events Handled

  • agg_add_filters - Drill down from aggregate view with filters
  • graph_drill_down - Drill down from graph view (delegates to chart_click)
  • chart_click - Drill down from chart element

drill-down-pattern

Drill-Down Pattern

All drill-down operations follow a similar pattern:

  1. Extract the clicked value/label
  2. Create filters based on the context
  3. Switch to detail view (or configured drill_down view)
  4. Execute query with new filters
  5. Update URL with new parameters