Toolbar not rendering correctly in Viewer

Stimulsoft Reports.JS discussion
Post Reply
sobpilot
Posts: 1
Joined: Tue Jan 28, 2020 3:35 pm

Toolbar not rendering correctly in Viewer

Post by sobpilot »

I'm trying to use the JS Viewer in a Svelte Application and the Toolbar renders the selections below the Report Area when scrollbars are false, and behind the Report when scrollbars are true. (see attachment)

Any help would be appreciated!

Here is the code...

var report = Stimulsoft.Report.StiReport.createNewReport()
report.loadFile('reports/timereport.mrt')
report.dictionary.databases.clear()
var options = new Stimulsoft.Viewer.StiViewerOptions()
options.appearance.scrollbarsMode = false
var viewer = new Stimulsoft.Viewer.StiViewer(options, 'StiViewer', false)
var dataSet = new Stimulsoft.System.Data.DataSet('Demo')
dataSet.readJson(tabledata)
report.regData('Demo', 'Demo', dataSet)
viewer.report = report
viewer.renderHtml('viewerContent')
Attachments
StiViewer.jpg
StiViewer.jpg (87.17 KiB) Viewed 1139 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Toolbar not rendering correctly in Viewer

Post by HighAley »

Hello,

Sorry, we can't reproduce the issue.
It seems that it's a style conflict.

Could you send us a sample for analysis?

Thank you.
david.brunger
Posts: 1
Joined: Wed Sep 29, 2021 9:04 am

Re: Toolbar not rendering correctly in Viewer

Post by david.brunger »

I am getting this exact same issue. I understand that it is likely to be a style clash. My application is quite large and proprietry so sending you the code is difficult. Please can someone give me any pointers at all in what this may be?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Toolbar not rendering correctly in Viewer

Post by Lech Kulikowski »

Hello,

It is difficult to say something specific without a sample.
But most probably, the issue with styles.

Thank you.
Post Reply