Versions Compared

Key

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

Once a report has a large number of column and filter options it can be useful to define a set of default options. These columns and filters will be automatically added to any new report that is based on this source. This gives the user a headstart by generating a 'typical' report which they can further customise.

Default columns

To add default column options, add a new property to the class called defaultcolumns:

...

The 'type' and 'value' must match an existing column option.

Default filters

To add default filters use a similar syntax:

...