dev:eg-grid
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dev:eg-grid [2024/04/05 11:54] – created sleary | dev:eg-grid [2025/03/04 12:42] (current) – sleary | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Angular eg-grid component ====== | ====== Angular eg-grid component ====== | ||
| - | TODO: explanation of flexbox vs. tables; see [[https:// | + | ===== Setting up a new grid ===== |
| - | [[https:// | + | * Defining the persistKey and adding the workstation setting SQL for saving grid settings |
| + | * Choosing the data source and setting up '' | ||
| + | * Fleshing linked fields | ||
| + | * Handling linked fields using CStore when PCRUD is not available (i.e. org unit settings) | ||
| + | * Joining tables via PCRUD ops | ||
| + | * Prepending data (see Acquisitions line item search) | ||
| + | * Filtering | ||
| + | * Sorting | ||
| - | [[newdevs: | + | ==== Grid columns ==== |
| - | [[styling|Styles based on column names and data types (WIP)]] | + | * Automatic columns from IDL fields |
| + | * Renaming columns | ||
| + | * Hiding IDL columns | ||
| + | * Defining grid cell templates | ||
| + | ==== Grid cells ==== | ||
| + | * [[dev: | ||
| + | * [[https:// | ||
| + | * Note that '' | ||
| + | * [[newdevs: | ||
| + | |||
| + | ==== Grid toolbar buttons, actions, and context menus ==== | ||
| + | |||
| + | * Filters button (always leftmost) | ||
| + | * Button colors and (TK) button style directive | ||
| + | * Template areas before and after each button (primarily for [[https:// | ||
| + | * Grouping actions | ||
| + | * Note that toolbar buttons could be grouped into dropdowns in AngularJS, but this has never been implemented in Angular | ||
| + | * Right-click context menus | ||
| + | * Double-click row actions | ||
| + | * '' | ||
| + | * Special instructions for file download buttons | ||
| + | |||
| + | ==== Grid filtered view links ==== | ||
| + | |||
| + | * (new in 3.14) See '' | ||
| + | * Constructing URLs to filtered grid views | ||
| + | |||
| + | ===== AngularJS grids ===== | ||
| + | |||
| + | TODO: explanation of flexbox in AngularJS vs. tables in Angular; see [[https:// | ||
dev/eg-grid.1712332477.txt.gz · Last modified: 2024/04/05 11:54 by sleary