Перейти к основному содержимому Перейти к дополнительному содержимому

Working with sub-bands in PixelPerfect reporting

Sub-bands allow you to create multiple versions of the same report band to display different content based on conditions. You can create advanced, dynamic output that is tailored to any number of scenarios, such as specific field values, aggregated totals, and more.

Creating sub-bands

  1. Create one or more bands that support sub-bands in your PixelPerfect template. For a highly formatted table, this can be the GroupHeader band.

    Typically, the parent band is connected to a data binding, rather than the sub-bands themselves.

  2. Right-click the band, and select Insert Sub-Band. Add as many sub-bands as desired.

After you have created sub-bands, you can customize them with conditional logic. For example, to show sub-band data conditionally:

  1. Select a sub-band.

  2. Click Formula on the right side panel to expand the Expressions menu.

  3. In the menu, click the three-dot icon next to Visible.

    The Expression Editor opens.

  4. Define the conditional expression—for example, an Iif expression.

  5. Repeat the process for each sub-band.

Uses

You can use sub-bands to:

  • Dynamically include or exclude data from reports using a condition—for example, use this to filter for an individual field value or hide elements unless an aggregation has a large enough value.

  • Style report content dynamically.

Example

For an example of using sub-bands to create a highly formatted table, see Example - Highly formatted table with sub-bands.

Помогла ли вам эта страница?

Если вы обнаружили какую-либо проблему на этой странице или с ее содержанием — будь то опечатка, пропущенный шаг или техническая ошибка, сообщите нам об этом!