Search results

reportDataExtensions array

Properties

name string

Gets or sets the name of the datasource type.

Default Value

  • empty

className string

Gets or sets the class name of the data extension.

Default Value

  • empty

imageClass string

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

displayName string

Gets or sets the name for data extension item to display in the data pane tile.

Default Value

  • empty

Example

  • Add a custom data extension to report designer
<div id="container"></div>
<script>
    $("#container").ejReportDesigner({
       reportDataExtensions: [{
        className: 'WebAPIDataSource',
        name: 'WebAPI',
        imageClass: 'e-reportdesigner-datasource-webapi',
        displayName: 'WebAPI'
    }]
  });
</script>
  • Add multiple custom data extensions to report designer
<div id="container"></div>
<script>
    $("#container").ejReportDesigner({
       reportDataExtensions: [
         {
        className: 'WebAPIDataSource',
        name: 'WebAPI',
        imageClass: 'e-reportdesigner-datasource-webapi',
        displayName: 'WebAPI'
        },
        {
        className: 'PSQLDataSource',
        name: 'PostgreSQL',
        imageClass: 'e-reportdesigner-datasource-psql',
        displayName: 'PostgreSQL'
       }]
  });
</script>