diff --git a/src/Cake.Issues.Reporting.Generic/Templates/DxDataGrid.cshtml b/src/Cake.Issues.Reporting.Generic/Templates/DxDataGrid.cshtml index 980770a23..c8cc140c5 100644 --- a/src/Cake.Issues.Reporting.Generic/Templates/DxDataGrid.cshtml +++ b/src/Cake.Issues.Reporting.Generic/Templates/DxDataGrid.cshtml @@ -275,6 +275,25 @@ } rowAlternationEnabled: true, allowColumnResizing: true, + rowTemplate: function (container, item) { + var data = item.data, + markup = "" + + "" + + "" + data.ProviderName + "" + + "" + data.PriorityName + "" + + "" + data.Project + "" + + "" + data.Path + "" + + "" + data.File + "" + + "" + data.Line + "" + + "" + data.Rule + "" + + "" + + "" + + "
" + data.Message + "
" + + "" + + ""; + + container.append(markup); + }, columns: [ @if (providerTypeVisible) { @@ -744,26 +763,6 @@ }, } - @if (messageVisible) - { - - { - caption: "Message", - dataField: "MessageHtml", - encodeHtml: false, - visibleIndex: @((int)ReportColumn.Message), - @if (groupedColumns.Contains(ReportColumn.Message)) - { - @:groupIndex: @groupedColumns.IndexOf(ReportColumn.Message), - } - @if (sortedColumns.Contains(ReportColumn.Message)) - { - @:sortIndex: @sortedColumns.IndexOf(ReportColumn.Message), - @:sortOrder: "@messageSortOrder.ToShortString()", - } - }, - - } @foreach (var additionalColumn in additionalColumns) { @@ -797,4 +796,4 @@ }); - \ No newline at end of file +