View Source AshPyroComponents.Components.DataTable (AshPyroComponents v0.0.1)

A component that auto-renders forms for Ash resources.

Overridable Component Attributes

You can customize the components in this module by configuring overrides.

The components in this module support the following overridable attributes:

Summary

Components

Renders a data table.

Components

Renders a data table.

Attributes

  • overrides (:list) - Manually set the overrides for this component (instead of config/default). Defaults to nil.
  • id (:string) (required)
  • config (AshPyro.Extensions.Resource.DataTable.Action) (required)
  • rows (:list) (required)
  • sort (:list) (required)
  • display (:list) (required)
  • filter (:list) (required)
  • resource (:atom) (required) - the resource of the data table.
  • actor (:map) - the actor to be passed to actions. Defaults to nil.
  • tz (:string) - timezone. Defaults to "Etc/UTC".
  • class (:any) - (overridable, :css_classes).