Search results
Suggest a FeaturePDF

reportItemExtensions array

Properties

name

string

Gets or sets the name for the report item.

Defaults to empty

className

string

Gets or sets the class name of the report item.

Defaults to empty

imageClass

string

Gets or sets the image class name to load image in widgets pane tile.

Defaults to empty

displayName

string

Gets or sets the name for custom report item to display in the widgets pane tile.

Defaults to empty

category

string

Gets or sets the category name for the report item.

Defaults to empty

allowHeaderFooter

boolean

Set the property to false to restrict placing the report item in the header and footer.

Defaults to true

Example

  • Add a custom report item

    <div id="container"></div>
    <script>
        $("#container").boldReportDesigner({
          reportItemExtensions: [{
            name: 'barcode',
            className: 'EJBarcode',
            imageClass: 'customitem-barcode',
            displayName: 'Barcode',
            category: 'Custom ReportItem'
        }]
      });
    </script>
  • Add multiple custom report items

    <div id="container"></div>
    <script>
        $("#container").boldReportDesigner({
          reportItemExtensions: [
            {
            name: 'barcode',
            className: 'EJBarcode',
            imageClass: 'customitem-barcode',
            displayName: 'Barcode',
            category: 'Barcodes'
            },
          {
            name: 'qrbarcode',
            className: 'EJQRBarcode',
            imageClass: 'customitem-qrbarcode',
            displayName: 'QR Barcode',
            category: 'Barcodes'
          }]
      });
    </script>