Please note that this feature will only be available with the release of LabKey Server v. 9.2

A new menu option under the "Export" button above a grid view will generate legal JavaScript that recreates the grid view. Copy and paste the JavaScript into a wiki page source or an html file to recreate the grid view.

Filters

  • Filters that have been applied to the grid view that are shown in the filter bar above the view are included in the script. However, filters that are specified as part of a saved, custom view are not included.
Columns
  • The script explicitly includes a columns list instead of a named view because this makes it easy to see what a lookup should be named.
Foreign Tables
  • Note that as with the other "Create..." actions, the name for a lookup column will be the name of the column in the base table, which will return the raw foreign key value. If you want a column from the foreign table, you need to include that explicitly in your view before generating the script, or add the "/<ft-column-name>" to the field key.


previousnext
 
expand allcollapse all