change
This commit is contained in:
@@ -507,14 +507,16 @@ var Unibase;
|
||||
instance.subreportResponse = subreportdata;
|
||||
data = subreportdata;
|
||||
if (subreportdata.length > 0) {
|
||||
var subdata = subreportdata.find(s => s.RowClick == true);
|
||||
if (subdata) {
|
||||
if (subdata.RowClick) {
|
||||
var hideIcon = function (cell, formatterParams, onRendered) {
|
||||
$(cell.getElement()).addClass('clickable-cell');
|
||||
return "<i class='fa fa-plus'></i>";
|
||||
};
|
||||
instance._reportViewer.table.addColumn({ formatter: hideIcon, width: 5, title: "", headerSort: false }, true);
|
||||
if (!rv_instance.isTable) {
|
||||
var subdata = subreportdata.find(s => s.RowClick == true);
|
||||
if (subdata) {
|
||||
if (subdata.RowClick) {
|
||||
var hideIcon = function (cell, formatterParams, onRendered) {
|
||||
$(cell.getElement()).addClass('clickable-cell');
|
||||
return "<i class='fa fa-plus'></i>";
|
||||
};
|
||||
instance._reportViewer.table.addColumn({ formatter: hideIcon, width: 5, title: "", headerSort: false }, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
subreportdata.forEach(function (subreport) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"tableviewer.settings.js","sourceRoot":"","sources":["tableviewer.settings.ts"],"names":[],"mappings":""}
|
||||
Reference in New Issue
Block a user