v2018.1.4
ASP.NET MVC > HTML5 Viewer > Viewer Settings
programming-manual
ParametersPanelColumnsCount:Sets the number of columns to display report parameters. By default, there are 2 columns.
but it always one columns.
so I found javascript code :
var countColumns = (countParameters <= 5) ? 1 : parametersPanel.jsObject.options.appearance.parametersPanelColumnsCount;
ParametersPanelColumnsCount not work
Re: ParametersPanelColumnsCount not work
Hello,
There is old behavior for all viewers.
But we have added additional option, will be available in the next build:
Thank you.
There is old behavior for all viewers.
But we have added additional option, will be available in the next build:
Code: Select all
@Html.Stimulsoft().StiMvcViewer("MvcViewer", new StiMvcViewerOptions()
{
Actions =
{
GetReport = "GetReport",
Interaction = "ViewerInteraction",
ViewerEvent = "ViewerEvent",
DesignReport = "DesignReport"
}
})
<script>
//where jsMvcViewer - "js" + viewer Id
jsMvcViewer.options.minParametersCountForMultiColumns = 1;
</script>