Using the Right-To-Left Mode in the Viewer
Our sample projects and report templates can help you learn the basics of working with our products.The viewer can be flipped into right-to-left layout for RTL languages with a single appearance option.
In React.
How it works. The option re-lays the entire viewer UI, so it reads correctly in right-to-left locales.
In React.
import { Viewer, Stimulsoft } from "stimulsoft-dashboards-js-react/viewer";
function App() {
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Dashboards/Dashboard.mrt");
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.rightToLeft = true;
return <Viewer options={options} report={report} />;
}appearance.rightToLeft = true— mirrors the viewer's toolbar and panels for RTL reading.
How it works. The option re-lays the entire viewer UI, so it reads correctly in right-to-left locales.