Skip to content

HTML Data Table

Template for a HTML report containing a rich data table view with sorting and search functionality powered by Simple-DataTables.

HTML Data Table

Features

  • Separate table for issues of each issue provider.
  • Table with Severity, Project, Path, File, Location, Rule, Message.
  • Each column sortable by user.
  • Paged table with possibility for user to change number of entries per page.
  • Client-side full text search.
  • No internet access required for displaying.

Requirements

  • Cake.Issues.Reporting.Generic 0.2.1 or higher

Usage

To create a report using the HTML Data Table template you can use the GenericIssueReportTemplate.HtmlDataTable enum value:

CreateIssueReport(
    issues,
    GenericIssueReportFormatFromEmbeddedTemplate(GenericIssueReportTemplate.HtmlDataTable),
    @"c:\repo",
    @"c:\report.html");

Options

This template doesn't support any options.

Demos

Source Code

Info

You can use the source code as a template for your custom template.

Source code is available on GitHub.