Page 1 of 1

Toolbar not rendering correctly in Viewer

Posted: Tue Jan 28, 2020 3:43 pm
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')

Re: Toolbar not rendering correctly in Viewer

Posted: Wed Jan 29, 2020 12:05 am
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.

Re: Toolbar not rendering correctly in Viewer

Posted: Wed Sep 29, 2021 9:07 am
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?

Re: Toolbar not rendering correctly in Viewer

Posted: Wed Sep 29, 2021 10:09 am
by Lech Kulikowski
Hello,

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

Thank you.