newdevs:code:save-grid-settings
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| newdevs:code:save-grid-settings [2025/05/19 13:03] – tmccanna | newdevs:code:save-grid-settings [2025/06/12 13:31] (current) – [Determine the Setting Name] tmccanna | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| This example added a workstation setting for the Monograph Parts Grid Preferences grid: | This example added a workstation setting for the Monograph Parts Grid Preferences grid: | ||
| https:// | https:// | ||
| + | |||
| + | ===== Make the Save Grid Settings Option Visible ===== | ||
| + | |||
| + | If the Save Grid Settings option doesn' | ||
| + | |||
| + | < | ||
| + | <eg-grid #partsGrid idlClass=" | ||
| + | persistKey=" | ||
| + | hideFields=" | ||
| + | class=" | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Determine the Setting Name ===== | ||
| + | |||
| + | As above, you can identify the persistKey in the code to determine what the name of the new setting should be. | ||
| + | |||
| + | You can also tell via the browser console. The error you see when clicking on Save Grid Settings should should say something like: | ||
| + | |||
| + | < | ||
| + | Error saving columns: No user or workstation setting type | ||
| + | exists for: " | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| ===== Create Seed Data for New Installs ===== | ===== Create Seed Data for New Installs ===== | ||
newdevs/code/save-grid-settings.1747674210.txt.gz · Last modified: 2025/05/19 13:03 by tmccanna