Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
onBeginProcessData event before the data request runs.<script setup lang="ts">
import { Viewer, Stimulsoft } from 'stimulsoft-dashboards-js-vuejs/viewer'
Stimulsoft.StiOptions.WebServer.url = "http://localhost:9615/";
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Dashboards/SalesOfProducts.mrt");
report.onBeginProcessData = function (args) {
// Change SQL query parameters before the request
if (args.dataSource === "products") {
args.parameters[0].value = "8";
}
};
</script>
<template>
<Viewer :report="report" />
</template>StiOptions.WebServer.url — points the engine at the Node.js SQL adapter service.args.parameters[0].value — set the query parameter server-side; the change is not exposed to the client.