LOGC#57731 Higlight optie binnen rapportages via hide_f_rowclass

svn path=/Website/branches/v2019.1/; revision=42430
This commit is contained in:
Jos Groot Lipman
2019-05-07 16:18:02 +00:00
parent 30f91ff272
commit 884e316e96

View File

@@ -203,6 +203,11 @@ function model_reports(fac_usrrap_key)
model.list.fixedColumns = true;
model.search.title = L("lcl_usrrap_report") + " " + usrrap.name;
model.fnrowClass = function _fnrowClass(oRs)
{
return oRs.Fields("hide_f_rowclass").Value;
}
var keyfield = null;
if (usrrap.urllink)
{
@@ -243,6 +248,12 @@ function model_reports(fac_usrrap_key)
var label = safe.html(usrrap.columns[i].caption); // (lcl) Labels worden altijd geacht html-safe te zijn
label = label.replace(/\\n/g, "<br/>"); // Voor overulen van gewone LCL's ligt de verantwoordelijkheid
// bij een beheerder maar rapportages wordt misschien wel fe
if (usrrap.columns[i].name == "hide_f_rowclass")
{
model.list.rowClass = model.fnrowClass;
}
var fixedlabel = false;
if (label && label.substr(0,1) == "!") // Als een label begint met een ! wordt hij niet aangepast bij groepperen
{