User Tools

Site Tools


newdevs:code:save-grid-settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:code:save-grid-settings [2025/06/12 10:26] tmccannanewdevs:code:save-grid-settings [2025/06/12 13:31] (current) – [Determine the Setting Name] tmccanna
Line 5: Line 5:
 https://bugs.launchpad.net/evergreen/+bug/1975852 https://bugs.launchpad.net/evergreen/+bug/1975852
  
-===== Determine the Setting Name =====+===== Make the Save Grid Settings Option Visible =====
  
-For these save grid settingsan easy way to determine what the setting name is supposed to be is to simply look at the URL pathIn the example below, the path to that interface is:+If the Save Grid Settings option doesn't appear at allit likely needs to have a persistKey assigned to the grid.
  
-/eg2/en-US/staff/catalog/record/parts+<code> 
 +<eg-grid #partsGrid idlClass="bmp" [dataSource]="gridDataSource" [sortable]="true" 
 +    persistKey="catalog.record.parts" 
 +    hideFields="label_sortkey,deleted,record" 
 +    class="mt-3"> 
 +</code> 
 + 
 + 
 +===== Determine the Setting Name =====
  
-So the setting is going to be:+As above, you can identify the persistKey in the code to determine what the name of the new setting should be
  
-eg.grid.catalog.record.parts+You can also tell via the browser consoleThe error you see when clicking on Save Grid Settings should should say something like:
  
 +<code>
 +Error saving columns: No user or workstation setting type
 +exists for: "eg.grid.catalog.record.parts".
 +</code>
  
  
newdevs/code/save-grid-settings.1749738390.txt.gz · Last modified: 2025/06/12 10:26 by tmccanna

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.