And i am trying to set it enable on report but I coldnt success on it.
Where i am wrong?
I have tried all way but no success. with @ without @, from variable, from direct...
Code: Select all
var report = new Stimulsoft.Report.StiReport();
// Load reports from JSON object
report.load(reportObject);
report["@eCert"] = true;
report["eCert"] = true;
report.dictionary.variables.getByName("eCert").valueObject = true;
report.setVariable("eCert", true);
report.setVariable("@eCert", true);
// Remove all connections in report template (they are used in the first place)
report.dictionary.databases.clear();
// Registered JSON data specified in the report with same name
var demo= <%= CertificateDataSet %>;
report.regData("table", "table", demo);
// Assign the report to the viewer
viewer.report = report;