·   Wiki Home
 ·   Wiki Help
 ·   Categories
 ·   Title List
 ·   Uncategorized Pages
 ·   Random Page
 ·   Recent Changes
 ·   RSS
 ·   Atom
 ·   What Links Here

Active Members:



Create or Find Page:


View How to Establish Global Grid Default Settings

Category:HWeb Dispatcher

How to Establish Global Grid Default Settings

One of the greatest resources of the Hudson Suite is the ability to create custom grids within the HWeb Dispatcher Application.  It can be time consuming to tweak and adjust a grid to the point that you desire.  If you then want to replicate the format (look and feel) of these grids, or apply the same formatting to other pre-existing grids, you often have to repeat the process again.  By setting and saving Global Default Settings for grids, this process is streamlined. This allows you to create additional grids quickly, concentrating primarily on the arrangement of your data.

Requires HWeb Dispatcher 1.89e or later.

A sample GlobalDefaults.gdf grid definition file is attached to this article for download. It may aid in understanding the setup steps outlined below.

Setting Default Parameters

Grid Layout
  1. Login to HWeb Dispatcher
  2. Select File - New - Reservations View
  3. Right click any one of the column headers and select Grid Layout.
  4. Press CTRL + A keys to highlight all field name rows EXCEPT for ID.
  5. Select Hide Selection from the Menu buttons on the right. 
  6. Right click the ID column header and set a Filter: EQUAL to 0 (zero).
  7. Click Apply and OK (the grid should not display any data rows)
Grid Properties
  1. Right click on any one of the column headers and select Grid Properties
  2. Locate and select the Colors & Font tab.
  3. On this tab, set all of the items that you wish to configure as a system default. There are many parameters that may be controlled here such as Font, font color and size, grid line presence and or width, etc.
    1. Note that there is a column labeled: Global Override. If you do not want an item to be configured as a default setting, un-check this box.  Unchecked items will not be set and saved as a default item.
  4. Click OK when finished.
  5. Save the new grid in the HWeb / Templates folder on the server, and give it the name: GlobalDefaults.gdf (this name is mandatory). 

Setting Additional Source Key Defaults

To aid in grid building consistency, you may wish to have any/all grids display the same Font and Background color for a particular Service Type, Airport, Direction, Operation or Status.  The easiest way to achieve exact or identical matches from grid to grid, is to create a kind of reference tool that will allow you to know precisely which colors you have decided to use. You can create this reference tool and save it inside the GlobalDefaults.gdf  grid definition file so that you are not forced to recall this information, much later, when building or replacing grids on a desktop.  This is accomplished through the use of Source Keys.  To set a Source Key or group of Source Keys:
  1. Open the GlobalDefaults.gdf grid.
  2. Right click on the column header and select Grid Properties.
  3. Locate and select the Status Colors Tab.
  4. Double Click the first field under Source Key column header; enter a name in this field that will aid in quickly identifying the status item to be configured; e.g.: Landed, InAir, Scheduled, etc (for FlightInfo field).
  5. Double Click the first field under FC column header. This will open a color palette selection tool. Browse to and select the desired FONT COLOR to be defined.
  6. Double Click the first field under BC column header. This will again open a color palette selection tool. Browse to and select the desired BACKGROUND COLOR to be defind.
  7. If you wish for the text to be BOLD place a check mark in the appropriate box.
  8. If you wish for the text to be italicized place a check mark in the appropriate box.
  9. If you have opted to leave several FieldNames displayed in your original Grid Layout, and these items have the "status" box checked, you will also see columns for these Fields. You may set default status values here if desired, or you may configure them individually as you build the custom grids at a later time.
  10. In the Description field, you can enter what item you want to use this color scheme for in the future. Examples>  Service1,  SharedRide,  TownCar,  AirportArrivals,  Canceled Reservations, etc.
  11. Click OK to close
  12. Save the GlobalDefault Grid once again.

Using the Global Default Grid

Now that you have configured and saved your default settings, these defaults should be applied with you open a new grid. To test this functionality:
  1. Click File > New > Reservations view
  2. The default colors, fonts, grid lines, etc should be displayed.
  3. You can open Grid Layout and add/remove fields as desired.  If you wish to color code that field in the final grid, then you should also place a check mark in the status column box.
  4. Click OK to close out of Grid Layout.
  5. Open Grid Properties and locate the Status Colors Tab.
  6. Double Click the Source field and you will be able to select from one of the previously saved SourceKey options. Depending on what item you wish to color code (example: Service1), you will select the appropriate item from the list defined in the GlobalDefaults grid.   Once selected, the previously defined Font and Background color schemes will be applied to reservations that meet that filtering criteria.