This commit is contained in:
2023-03-20 16:20:33 +00:00
parent 514c3ac3f6
commit 8c7d6421f5
2288 changed files with 712 additions and 73769 deletions
@@ -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":""}