How to Set the Appearance of Exported (HTML) Tables


The tables in many of the views in Extreme Management Center applications can be exported as an HTML file using the Export and Auto Export features. The FlexibleTable.properties file is where you can customize the appearance of tables that are exported as html. In the file, you can define specific elements in the html table tags used to format the exported data.

To customize your exported table formats:

  1. The FlexibleTable.properties file is included in the commonui.jar located in <install directory>/jboss/server/default/deploy/NetSight/Clients.war/plugins/common. It is not extracted by default during an installation. You can extract that file from the jar (or create your own) and place it in the platform dependent <user home dir>/NetSight/Console directory. From that directory you can open the file in your favorite text editor and make any desired changes. Note that any changes to the file must be made before Management Center clients are launched, or they will not take effect.
  2. Edit the table format parameters. You can define four table elements:
    • TableFormat - defines the overall appearance (alignment, background, borders, etc.) for the table.
    • TableHeaderFormat - defines the appearance of the header row.
    • TableOddRowFormat - defines the appearance of the odd table rows.
    • TableEvenRowFormat - defines the appearance of the even table rows.

    You can set these properties to any attribute that is legal for version 3.2 and 4.0 HTML table tags.

    For example, the following entries define attributes for the overall table style and the fonts and backgrounds for the header and the odd and even table rows to produce the table shown below.

    TableFormat= align="Left" border="0" style="border-style:Groove"
    TableHeaderFormat= style="background-color:Silver;font-size:8pt;font-weight:bold;font-style:Italic;" align="Center"
    TableOddRowFormat= style="background-color:White;font-size:8pt;"
    TableEvenRowFormat= style="background-color:Gainsboro;font-size:8pt;"

    Sample Exported Table

  3. Save your changes. Exported tables will be formatted with your changes.

For information on related windows:

For information on related tasks: