Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This screen picture shows Developer Tools running with a WAM which displays a list of employees:

Note that the Select element by click click  icon in Developer Tools can be used to select the element on the page that you want to examine.

...

  • A list is wrapped by a DIV with the class of std_grid_wrapper.
  • The DIV also has an id of <listname>_wrap, where <listname> is the name of the list in the RDMLX.
  • For a grid, the wrapper DIV also has a class of std_grid_wrapper. The id is LANSA_<gridname>wrapwhere <gridname> is the name assigned to the grid in the _ Design view.
  • The DIV wrapper provides the size and position for the grid, drawing any scrollbars as necessary.
  • In a list, the row class names are alternated between list-o and list-e.
  • For a grid, the class names for odd and even rows are defined by the grid properties odd_row_class and even_row_class, which have default values of odd_row and even_row.
  • A list's table cells (<td> tags) are given a class name of the field name. This provides a way to apply styles to specific columns.
  • Input fields are given a class that represents the data type of the field. Fields of type alpha, char or string will be "text", "utext" or "ltext" depending on the input case of the field. Fields of type packed, signed, integer, float, date, time or datetime will have a class name of "number". Boolean fields will be "ltext" and all other fields will be "text".

...